aboutsummaryrefslogtreecommitdiff
path: root/miscutils/update.c
diff options
context:
space:
mode:
Diffstat (limited to 'miscutils/update.c')
-rw-r--r--miscutils/update.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/miscutils/update.c b/miscutils/update.c
index ce2b6cf08..a6550b05c 100644
--- a/miscutils/update.c
+++ b/miscutils/update.c
@@ -33,11 +33,11 @@
#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"