From 9260fc5552a3ee52eb95823aa6689d52a1ffd33c Mon Sep 17 00:00:00 2001
From: Eric Andersen <andersen@codepoet.org>
Date: Wed, 24 Oct 2001 00:44:11 +0000
Subject: Accomodate older glibc, which also lacks the module syscalls

---
 libbb/module_syscalls.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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);
-- 
cgit v1.2.3-55-g6feb