summaryrefslogtreecommitdiff
path: root/libbb/syscalls.c
diff options
context:
space:
mode:
Diffstat (limited to 'libbb/syscalls.c')
-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);