Another update from Larry:
[oweals/busybox.git] / update.c
index ce2b6cf08db71cde2877997356fa50c55fd8630c..a6550b05cab853c8ec7ccd8e136c661dc764b265 100644 (file)
--- a/update.c
+++ b/update.c
 #include <unistd.h> /* for getopt() */
 #include <stdlib.h>
 
-#if defined(__GLIBC__)
-#include <sys/kdaemon.h>
+#if __GNU_LIBRARY__ > 5
+       #include <sys/kdaemon.h>
 #else
-extern int bdflush (int func, long int data);
-#endif                                                 /* __GLIBC__ */
+       extern int bdflush (int func, long int data);
+#endif
 
 #include "busybox.h"