From: Eric Andersen Date: Wed, 24 Oct 2001 00:44:11 +0000 (-0000) Subject: Accomodate older glibc, which also lacks the module syscalls X-Git-Tag: 0_60_2~108 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=9260fc5552a3ee52eb95823aa6689d52a1ffd33c;p=oweals%2Fbusybox.git Accomodate older glibc, which also lacks the module syscalls --- diff --git a/libbb/module_syscalls.c b/libbb/module_syscalls.c index 36b75fb93..8326f15ad 100644 --- a/libbb/module_syscalls.c +++ b/libbb/module_syscalls.c @@ -34,7 +34,7 @@ #include "libbb.h" -#if __GNU_LIBRARY__ < 5 +#if __GNU_LIBRARY__ < 5 || ((__GLIBC__ <= 2) && (__GLIBC_MINOR__ < 1)) /* These syscalls are not included as part of libc5 */ _syscall1(int, delete_module, const char *, name); _syscall1(int, get_kernel_syms, __ptr_t, ks);