summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Kjellerstedt <peter.kjellerstedt@axis.com>2008-06-12 22:28:03 +0000
committerPeter Kjellerstedt <peter.kjellerstedt@axis.com>2008-06-12 22:28:03 +0000
commit46307c8d27b77eed67bbfabea1aa82bce11a62b5 (patch)
tree4bd727b7881ebc5688c957544c3ced300f574031
parent1817cd16b2b8abc2eb9fe39a3a898319e7fdc80c (diff)
Include sys/syscall.h since we are checking for __NR_clock_getres.
-rw-r--r--libc/unistd/sysconf.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libc/unistd/sysconf.c b/libc/unistd/sysconf.c
index 9f2ca8d0b..8488f013b 100644
--- a/libc/unistd/sysconf.c
+++ b/libc/unistd/sysconf.c
@@ -27,6 +27,7 @@
#include <stdlib.h>
#include <time.h>
#include <unistd.h>
+#include <sys/syscall.h>
#include <sys/sysinfo.h>
#include <sys/types.h>
#ifdef __UCLIBC_HAS_REGEX__