aboutsummaryrefslogtreecommitdiff
path: root/libbb/module_syscalls.c
diff options
context:
space:
mode:
authorManuel Novoa III <mjn3@codepoet.org>2001-06-29 18:59:32 +0000
committerManuel Novoa III <mjn3@codepoet.org>2001-06-29 18:59:32 +0000
commita2949aa217f255341a0507b6e340285bdea1001f (patch)
tree9b51d9d86b8165853b4062470b5fc2074e649195 /libbb/module_syscalls.c
parentff9eee475f61800fe33bd60ac12b8b29015cbcdd (diff)
downloadbusybox-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/module_syscalls.c')
-rw-r--r--libbb/module_syscalls.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libbb/module_syscalls.c b/libbb/module_syscalls.c
index 2fb4cd177..36b75fb93 100644
--- a/libbb/module_syscalls.c
+++ b/libbb/module_syscalls.c
@@ -28,7 +28,9 @@
28 _syscall* defined. */ 28 _syscall* defined. */
29#define __LIBRARY__ 29#define __LIBRARY__
30#include <sys/syscall.h> 30#include <sys/syscall.h>
31#ifndef __UCLIBC__
31#include <asm/unistd.h> 32#include <asm/unistd.h>
33#endif
32#include "libbb.h" 34#include "libbb.h"
33 35
34 36