diff options
Diffstat (limited to 'init.c')
-rw-r--r-- | init.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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> | ||
117 | static _syscall2(int, bdflush, int, func, int, data); | 120 | static _syscall2(int, bdflush, int, func, int, data); |
118 | #endif /* __GLIBC__ */ | 121 | #endif /* __GLIBC__ */ |
119 | 122 | ||