Hal Patch for __u8 types

Alvaro Lopez Ortega alvaro at sun.com
Thu Jul 14 08:27:55 PDT 2005


JP Rosevear wrote:

 >>   As far a I have seen, there are two options:
 >>
 >>   - Check for asm/types.h with AC_CHECK_HEADERS. It found, use the
 >>     HAVE_ASM_TYPES_H definition to include the header in each source
 >>     file.
 >>
 >>   - Remove the check for __u8 and redefine the Linux kernel types with
 >>     C types always, even if it is a Linux box.
 >>
 >>   The second approach is a little bit dirtier at the base, but it will
 >>   keep the source code a little bit cleaner.
 >
 > This was failing for me with the 2.6.12 kernel headers in the glibc we
 > are using for suse 10.0.

   JP, David; please check if this makes everybody happy.

-- 
Greetings, alo.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hal-linux-types.diff
Type: text/x-patch
Size: 2185 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/hal/attachments/20050714/af3ed4d4/hal-linux-types.bin
-------------- next part --------------
_______________________________________________
hal mailing list
hal at lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/hal


More information about the Hal mailing list