summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Andersen2001-10-24 00:44:11 +0000
committerEric Andersen2001-10-24 00:44:11 +0000
commit9260fc5552a3ee52eb95823aa6689d52a1ffd33c (patch)
tree40a5c8ef1b96b86a036030751cedb5c3cbe4b2c9
parent1c9cebc8df13e6cbdd5af26ebb274eae2970ac63 (diff)
downloadbusybox-9260fc5552a3ee52eb95823aa6689d52a1ffd33c.zip
busybox-9260fc5552a3ee52eb95823aa6689d52a1ffd33c.tar.gz
Accomodate older glibc, which also lacks the module syscalls
-rw-r--r--libbb/module_syscalls.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbb/module_syscalls.c b/libbb/module_syscalls.c
index 36b75fb..8326f15 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);