summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-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);