diff options
author | Eric Andersen | 2001-04-09 23:52:18 +0000 |
---|---|---|
committer | Eric Andersen | 2001-04-09 23:52:18 +0000 |
commit | b6b519b416189202d18d888d61d8bbe50dc30325 (patch) | |
tree | e04e4a2329b9cf5c96b31fa064e6c85dfb8b9055 /miscutils/update.c | |
parent | d3f97f19718fa5890cb6cb3fd010f7b4a7bd3ae1 (diff) | |
download | busybox-b6b519b416189202d18d888d61d8bbe50dc30325.zip busybox-b6b519b416189202d18d888d61d8bbe50dc30325.tar.gz |
Update how we detect if libc5 is in use.
-Erik
Diffstat (limited to 'miscutils/update.c')
-rw-r--r-- | miscutils/update.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/miscutils/update.c b/miscutils/update.c index ce2b6cf..a6550b0 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" |