aboutsummaryrefslogtreecommitdiff
path: root/libbb
diff options
context:
space:
mode:
authorandersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277>2002-03-12 00:35:40 +0000
committerandersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277>2002-03-12 00:35:40 +0000
commit3190cf59bf838168acbe698ab12f8fe55abbb41d (patch)
tree892c6836460628b72c90348fae55ea4db58f5bc6 /libbb
parent84afb1ca685d5d03cf8414bc519583c1709120b5 (diff)
downloadbusybox-w32-3190cf59bf838168acbe698ab12f8fe55abbb41d.tar.gz
busybox-w32-3190cf59bf838168acbe698ab12f8fe55abbb41d.tar.bz2
busybox-w32-3190cf59bf838168acbe698ab12f8fe55abbb41d.zip
Cleanup a libc5 compatibility hack
git-svn-id: svn://busybox.net/trunk/busybox@4359 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'libbb')
-rw-r--r--libbb/module_syscalls.c3
-rw-r--r--libbb/syscalls.c5
2 files changed, 4 insertions, 4 deletions
diff --git a/libbb/module_syscalls.c b/libbb/module_syscalls.c
index 3b60649a8..cf922f8eb 100644
--- a/libbb/module_syscalls.c
+++ b/libbb/module_syscalls.c
@@ -28,7 +28,8 @@
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#if __GNU_LIBRARY__ < 5
32/* This is needed for libc5 */
32#include <asm/unistd.h> 33#include <asm/unistd.h>
33#endif 34#endif
34#include "libbb.h" 35#include "libbb.h"
diff --git a/libbb/syscalls.c b/libbb/syscalls.c
index 383eb6ab9..76b77f816 100644
--- a/libbb/syscalls.c
+++ b/libbb/syscalls.c
@@ -27,10 +27,9 @@
27/* Kernel headers before 2.1.mumble need this on the Alpha to get 27/* Kernel headers before 2.1.mumble need this on the Alpha to get
28 _syscall* defined. */ 28 _syscall* defined. */
29#define __LIBRARY__ 29#define __LIBRARY__
30
31
32#include <sys/syscall.h> 30#include <sys/syscall.h>
33#ifndef __UCLIBC__ 31#if __GNU_LIBRARY__ < 5
32/* This is needed for libc5 */
34#include <asm/unistd.h> 33#include <asm/unistd.h>
35#endif 34#endif
36#include "libbb.h" 35#include "libbb.h"