Hi all,

I'm seeing what looks like a conflict between libc-symbols.h and
sys/sysctl.h in a recent snapshot of uClibc (paired with 2.6.24 kernel
headers).

libc-symbol.h has this:

#ifndef __LINUX_COMPILER_H
# define __LINUX_COMPILER_H
#endif

and sys/sysctl.h has this:

#ifndef __LINUX_COMPILER_H
# define __LINUX_COMPILER_H     1
# define __user
# define __undef__LINUX_COMPILER_H
#endif

Because libc-symbols.h has already defined __LINUX_COMPILER_H an empty
definition of __user is never made here so compiling anything that
includes the sys/sysctl.h header fails due to the use of the __user
annotation in linux/sysctl.h. Or am I missing something?

Thanks,
_______________________________________________
uClibc mailing list
[email protected]
http://busybox.net/cgi-bin/mailman/listinfo/uclibc

Reply via email to