OSDN Git Service
(root)
/
uclinux-h8
/
uClibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e0114d4
)
Joseph S. Myers writes:
author
Eric Andersen
<andersen@codepoet.org>
Thu, 19 Jan 2006 02:19:51 +0000
(
02:19
-0000)
committer
Eric Andersen
<andersen@codepoet.org>
Thu, 19 Jan 2006 02:19:51 +0000
(
02:19
-0000)
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.
include/sys/syscall.h
patch
|
blob
|
history
diff --git
a/include/sys/syscall.h
b/include/sys/syscall.h
index
7031886
..
aef1f99
100644
(file)
--- a/
include/sys/syscall.h
+++ b/
include/sys/syscall.h
@@
-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