summaryrefslogtreecommitdiff
path: root/libbb/module_syscalls.c
diff options
context:
space:
mode:
authorEric Andersen2002-03-12 00:35:40 +0000
committerEric Andersen2002-03-12 00:35:40 +0000
commit806c74fe19e7c316fa0715ad82d598c8e216fb13 (patch)
tree892c6836460628b72c90348fae55ea4db58f5bc6 /libbb/module_syscalls.c
parentf64c1cd26d2860430362fad00d19615572c693f0 (diff)
downloadbusybox-806c74fe19e7c316fa0715ad82d598c8e216fb13.zip
busybox-806c74fe19e7c316fa0715ad82d598c8e216fb13.tar.gz
Cleanup a libc5 compatibility hack
Diffstat (limited to 'libbb/module_syscalls.c')
-rw-r--r--libbb/module_syscalls.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libbb/module_syscalls.c b/libbb/module_syscalls.c
index 3b60649..cf922f8 100644
--- a/libbb/module_syscalls.c
+++ b/libbb/module_syscalls.c
@@ -28,7 +28,8 @@
_syscall* defined. */
#define __LIBRARY__
#include <sys/syscall.h>
-#ifndef __UCLIBC__
+#if __GNU_LIBRARY__ < 5
+/* This is needed for libc5 */
#include <asm/unistd.h>
#endif
#include "libbb.h"