diff options
author | Eric Andersen <andersen@codepoet.org> | 2000-07-08 18:55:24 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2000-07-08 18:55:24 +0000 |
commit | bd22ed806782eec76929bcd2ec556717e79d24c7 (patch) | |
tree | e225367aaef198eacec8ed0b530d36a9d888d92f /util-linux/dmesg.c | |
parent | 877a71bbf0b8386add4631c08f7101259ad2dc07 (diff) | |
download | busybox-w32-bd22ed806782eec76929bcd2ec556717e79d24c7.tar.gz busybox-w32-bd22ed806782eec76929bcd2ec556717e79d24c7.tar.bz2 busybox-w32-bd22ed806782eec76929bcd2ec556717e79d24c7.zip |
Update files to reduce dependance on kernel version...
-Erik
Diffstat (limited to 'util-linux/dmesg.c')
-rw-r--r-- | util-linux/dmesg.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util-linux/dmesg.c b/util-linux/dmesg.c index 20846f7c6..e88f549ca 100644 --- a/util-linux/dmesg.c +++ b/util-linux/dmesg.c | |||
@@ -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 |