[uClibc] syslog.c compile broken
Denis Dowling
dpd at alphalink.com.au
Tue Nov 25 06:44:50 UTC 2003
The change to features.h on 21/11/2003 has broken compiles of
libc/misc/syslog/syslog.c with 2.6.0-test10 headers. Here is a small patch
to fix this:
Index: include/features.h
===================================================================
RCS file: /var/cvs/uClibc/include/features.h,v
retrieving revision 1.56
diff -u -b -B -w -p -r1.56 features.h
--- include/features.h 21 Nov 2003 07:47:43 -0000 1.56
+++ include/features.h 25 Nov 2003 06:45:13 -0000
@@ -435,6 +435,8 @@ uClibc was built without large file supp
#endif
#ifndef __LINUX_COMPILER_H
#define __LINUX_COMPILER_H
+#define __user
+#define __kernel
#endif
/* --- this is added to integrate linuxthreads */
Maybe the better option is not to remove linux/compiler.h completely.
Regards,
Denis
More information about the uClibc
mailing list