summaryrefslogtreecommitdiff
path: root/miscutils/update.c
diff options
context:
space:
mode:
Diffstat (limited to 'miscutils/update.c')
-rw-r--r--miscutils/update.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/miscutils/update.c b/miscutils/update.c
index 080cb99..309ce0c 100644
--- a/miscutils/update.c
+++ b/miscutils/update.c
@@ -32,11 +32,14 @@
#include <sys/param.h>
#include <sys/syslog.h>
#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__ */