diff options
author | Manuel Novoa III <mjn3@codepoet.org> | 2001-06-29 18:59:32 +0000 |
---|---|---|
committer | Manuel Novoa III <mjn3@codepoet.org> | 2001-06-29 18:59:32 +0000 |
commit | a2949aa217f255341a0507b6e340285bdea1001f (patch) | |
tree | 9b51d9d86b8165853b4062470b5fc2074e649195 /libbb/syscalls.c | |
parent | ff9eee475f61800fe33bd60ac12b8b29015cbcdd (diff) | |
download | busybox-w32-a2949aa217f255341a0507b6e340285bdea1001f.tar.gz busybox-w32-a2949aa217f255341a0507b6e340285bdea1001f.tar.bz2 busybox-w32-a2949aa217f255341a0507b6e340285bdea1001f.zip |
Add some missing includes to kill warnings when building with the default
Config.h and using gcc's -fno-builtin. There are probably other files
with the similar problems.
Also, if building against uClibc, don't include asm/unistd.h in syscalls.c
and module_syscalls.c.
Diffstat (limited to 'libbb/syscalls.c')
-rw-r--r-- | libbb/syscalls.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libbb/syscalls.c b/libbb/syscalls.c index f183b26c3..426a14aa1 100644 --- a/libbb/syscalls.c +++ b/libbb/syscalls.c | |||
@@ -30,7 +30,9 @@ | |||
30 | 30 | ||
31 | 31 | ||
32 | #include <sys/syscall.h> | 32 | #include <sys/syscall.h> |
33 | #ifndef __UCLIBC__ | ||
33 | #include <asm/unistd.h> | 34 | #include <asm/unistd.h> |
35 | #endif | ||
34 | #include "libbb.h" | 36 | #include "libbb.h" |
35 | 37 | ||
36 | #if defined(__ia64__) | 38 | #if defined(__ia64__) |