aboutsummaryrefslogtreecommitdiff
path: root/update.c
diff options
context:
space:
mode:
Diffstat (limited to 'update.c')
-rw-r--r--update.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/update.c b/update.c
index b282b9e18..ce2b6cf08 100644
--- a/update.c
+++ b/update.c
@@ -33,14 +33,12 @@
33#include <unistd.h> /* for getopt() */ 33#include <unistd.h> /* for getopt() */
34#include <stdlib.h> 34#include <stdlib.h>
35 35
36
37#if defined(__GLIBC__) 36#if defined(__GLIBC__)
38#include <sys/kdaemon.h> 37#include <sys/kdaemon.h>
39#else 38#else
40#include <sys/syscall.h> 39extern int bdflush (int func, long int data);
41#include <linux/unistd.h> 40#endif /* __GLIBC__ */
42static _syscall2(int, bdflush, int, func, int, data); 41
43#endif /* __GLIBC__ */
44#include "busybox.h" 42#include "busybox.h"
45 43
46static unsigned int sync_duration = 30; 44static unsigned int sync_duration = 30;