diff options
Diffstat (limited to 'update.c')
-rw-r--r-- | update.c | 8 |
1 files changed, 3 insertions, 5 deletions
@@ -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> | 39 | extern int bdflush (int func, long int data); |
41 | #include <linux/unistd.h> | 40 | #endif /* __GLIBC__ */ |
42 | static _syscall2(int, bdflush, int, func, int, data); | 41 | |
43 | #endif /* __GLIBC__ */ | ||
44 | #include "busybox.h" | 42 | #include "busybox.h" |
45 | 43 | ||
46 | static unsigned int sync_duration = 30; | 44 | static unsigned int sync_duration = 30; |