Handle glibc 2.0.7 as well
authorEric Andersen <andersen@codepoet.org>
Thu, 5 Apr 2001 22:38:32 +0000 (22:38 -0000)
committerEric Andersen <andersen@codepoet.org>
Thu, 5 Apr 2001 22:38:32 +0000 (22:38 -0000)
libbb/syscalls.c

index 4a846eb005d2548d7a74b492b66770ff2cd9401f..f183b26c3a4c5744bdee10166f2dda2e5d92bd44 100644 (file)
@@ -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);