aboutsummaryrefslogtreecommitdiff
path: root/libbb
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2001-10-24 00:44:11 +0000
committerEric Andersen <andersen@codepoet.org>2001-10-24 00:44:11 +0000
commit9260fc5552a3ee52eb95823aa6689d52a1ffd33c (patch)
tree40a5c8ef1b96b86a036030751cedb5c3cbe4b2c9 /libbb
parent1c9cebc8df13e6cbdd5af26ebb274eae2970ac63 (diff)
downloadbusybox-9260fc5552a3ee52eb95823aa6689d52a1ffd33c.tar.gz
Accomodate older glibc, which also lacks the module syscalls
Diffstat (limited to 'libbb')
-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 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);