diff options
Diffstat (limited to 'miscutils/update.c')
-rw-r--r-- | miscutils/update.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/miscutils/update.c b/miscutils/update.c index b282b9e..ce2b6cf 100644 --- a/miscutils/update.c +++ b/miscutils/update.c @@ -33,14 +33,12 @@ #include <unistd.h> /* for getopt() */ #include <stdlib.h> - #if defined(__GLIBC__) #include <sys/kdaemon.h> #else -#include <sys/syscall.h> -#include <linux/unistd.h> -static _syscall2(int, bdflush, int, func, int, data); -#endif /* __GLIBC__ */ +extern int bdflush (int func, long int data); +#endif /* __GLIBC__ */ + #include "busybox.h" static unsigned int sync_duration = 30; |