summaryrefslogtreecommitdiff
path: root/include/sys/syscall.h
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2006-01-19 02:19:51 +0000
committerEric Andersen <andersen@codepoet.org>2006-01-19 02:19:51 +0000
commitb9f2b0fde64b36c304a8019a22509402c63d1838 (patch)
tree2d7deb1cb07a0b2990c2f9e9dbb73218d1455011 /include/sys/syscall.h
parente0114d4d98190c9d1be6f1b617a9daba7c542882 (diff)
Joseph S. Myers writes:
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.
Diffstat (limited to 'include/sys/syscall.h')
-rw-r--r--include/sys/syscall.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/sys/syscall.h b/include/sys/syscall.h
index 703188683..aef1f998f 100644
--- 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