summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Andersen2001-04-05 22:38:32 +0000
committerEric Andersen2001-04-05 22:38:32 +0000
commit831ed16efca5dd12b51480a3004f3dc86fcf267d (patch)
treee27a171747294227d1c2cd4eea16ff3e9ae2d99d
parent79757c9c37beab0032bc065b10bf84d4afe2b500 (diff)
downloadbusybox-831ed16efca5dd12b51480a3004f3dc86fcf267d.zip
busybox-831ed16efca5dd12b51480a3004f3dc86fcf267d.tar.gz
Handle glibc 2.0.7 as well
-rw-r--r--libbb/syscalls.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbb/syscalls.c b/libbb/syscalls.c
index 4a846eb..f183b26 100644
--- a/libbb/syscalls.c
+++ b/libbb/syscalls.c
@@ -71,7 +71,7 @@ int pivot_root(const char * new_root,const char * put_old)
-#if __GNU_LIBRARY__ < 5
+#if __GNU_LIBRARY__ < 5 || ((__GLIBC__ <= 2) && (__GLIBC_MINOR__ < 1))
/* These syscalls are not included as part of libc5 */
_syscall2(int, bdflush, int, func, int, data);