aboutsummaryrefslogtreecommitdiff
path: root/init.c
diff options
context:
space:
mode:
Diffstat (limited to 'init.c')
-rw-r--r--init.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/init.c b/init.c
index 86906487f..5d0d924ad 100644
--- a/init.c
+++ b/init.c
@@ -37,6 +37,7 @@
37#include <string.h> 37#include <string.h>
38#include <termios.h> 38#include <termios.h>
39#include <unistd.h> 39#include <unistd.h>
40#include <limits.h>
40#include <sys/fcntl.h> 41#include <sys/fcntl.h>
41#include <sys/ioctl.h> 42#include <sys/ioctl.h>
42#include <sys/mount.h> 43#include <sys/mount.h>
@@ -114,6 +115,8 @@ static const int RB_AUTOBOOT = 0x01234567;
114#if defined(__GLIBC__) 115#if defined(__GLIBC__)
115#include <sys/kdaemon.h> 116#include <sys/kdaemon.h>
116#else 117#else
118#include <sys/syscall.h>
119#include <linux/unistd.h>
117static _syscall2(int, bdflush, int, func, int, data); 120static _syscall2(int, bdflush, int, func, int, data);
118#endif /* __GLIBC__ */ 121#endif /* __GLIBC__ */
119 122