summaryrefslogtreecommitdiffhomepage
path: root/libbb
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2001-04-05 22:38:32 +0000
committerEric Andersen <andersen@codepoet.org>2001-04-05 22:38:32 +0000
commit831ed16efca5dd12b51480a3004f3dc86fcf267d (patch)
treee27a171747294227d1c2cd4eea16ff3e9ae2d99d /libbb
parent79757c9c37beab0032bc065b10bf84d4afe2b500 (diff)
Handle glibc 2.0.7 as well
Diffstat (limited to 'libbb')
-rw-r--r--libbb/syscalls.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbb/syscalls.c b/libbb/syscalls.c
index 4a846eb00..f183b26c3 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);