Cleanup a libc5 compatibility hack
No binary (build failed)
—
(log yok)
| @@ -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" | |
| @@ -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" | |