From a2949aa217f255341a0507b6e340285bdea1001f Mon Sep 17 00:00:00 2001 From: Manuel Novoa III Date: Fri, 29 Jun 2001 18:59:32 +0000 Subject: 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. --- libbb/module_syscalls.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libbb/module_syscalls.c') 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 @@ _syscall* defined. */ #define __LIBRARY__ #include +#ifndef __UCLIBC__ #include +#endif #include "libbb.h" -- cgit v1.2.3