diff options
Diffstat (limited to 'dmesg.c')
-rw-r--r-- | dmesg.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -16,7 +16,6 @@ | |||
16 | */ | 16 | */ |
17 | 17 | ||
18 | #include "internal.h" | 18 | #include "internal.h" |
19 | #include <linux/unistd.h> | ||
20 | #include <stdio.h> | 19 | #include <stdio.h> |
21 | #include <stdlib.h> | 20 | #include <stdlib.h> |
22 | 21 | ||
@@ -24,6 +23,7 @@ | |||
24 | 23 | ||
25 | #ifndef __alpha__ | 24 | #ifndef __alpha__ |
26 | # define __NR_klogctl __NR_syslog | 25 | # define __NR_klogctl __NR_syslog |
26 | #include <linux/unistd.h> | ||
27 | static inline _syscall3(int, klogctl, int, type, char *, b, int, len); | 27 | static inline _syscall3(int, klogctl, int, type, char *, b, int, len); |
28 | #else /* __alpha__ */ | 28 | #else /* __alpha__ */ |
29 | #define klogctl syslog | 29 | #define klogctl syslog |