summaryrefslogtreecommitdiff
path: root/dmesg.c
diff options
context:
space:
mode:
authorEric Andersen2000-07-08 18:55:24 +0000
committerEric Andersen2000-07-08 18:55:24 +0000
commitbd22ed806782eec76929bcd2ec556717e79d24c7 (patch)
treee225367aaef198eacec8ed0b530d36a9d888d92f /dmesg.c
parent877a71bbf0b8386add4631c08f7101259ad2dc07 (diff)
downloadbusybox-bd22ed806782eec76929bcd2ec556717e79d24c7.zip
busybox-bd22ed806782eec76929bcd2ec556717e79d24c7.tar.gz
Update files to reduce dependance on kernel version...
-Erik
Diffstat (limited to 'dmesg.c')
-rw-r--r--dmesg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dmesg.c b/dmesg.c
index 20846f7..e88f549 100644
--- a/dmesg.c
+++ b/dmesg.c
@@ -16,7 +16,6 @@
*/
#include "internal.h"
-#include <linux/unistd.h>
#include <stdio.h>
#include <stdlib.h>
@@ -24,6 +23,7 @@
#ifndef __alpha__
# define __NR_klogctl __NR_syslog
+#include <linux/unistd.h>
static inline _syscall3(int, klogctl, int, type, char *, b, int, len);
#else /* __alpha__ */
#define klogctl syslog