diff options
author | Eric Andersen <andersen@codepoet.org> | 2002-03-12 00:35:40 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2002-03-12 00:35:40 +0000 |
commit | 806c74fe19e7c316fa0715ad82d598c8e216fb13 (patch) | |
tree | 892c6836460628b72c90348fae55ea4db58f5bc6 /libbb/syscalls.c | |
parent | f64c1cd26d2860430362fad00d19615572c693f0 (diff) |
Cleanup a libc5 compatibility hack
Diffstat (limited to 'libbb/syscalls.c')
-rw-r--r-- | libbb/syscalls.c | 5 |
1 files changed, 2 insertions, 3 deletions
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 @@ /* Kernel headers before 2.1.mumble need this on the Alpha to get _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" |