[patch] include features.h in sys/syscall.h
Joseph S. Myers
joseph at codesourcery.com
Thu Jan 19 01:35:32 UTC 2006
sys/syscall.h uses the IS_IN_libc define before including any header that
includes libc-internal.h (where IS_IN_libc is defined). This patch makes
sys/syscall.h include features.h to get the IS_IN_libc define where
appropriate.
Index: include/sys/syscall.h
===================================================================
--- include/sys/syscall.h (revision 13407)
+++ include/sys/syscall.h (working copy)
@@ -20,6 +20,7 @@
#define _SYSCALL_H 1
/* This file provides us with the nicely useful _syscall[0-5] macros. */
+#include <features.h>
#if defined _LIBC && (defined IS_IN_libc || defined NOT_IN_libc)
# include <bits/syscalls.h>
#else
--
Joseph S. Myers
joseph at codesourcery.com
More information about the uClibc
mailing list