aboutsummaryrefslogtreecommitdiff
path: root/dmesg.c
diff options
context:
space:
mode:
Diffstat (limited to 'dmesg.c')
-rw-r--r--dmesg.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/dmesg.c b/dmesg.c
index c220d9018..c21f84c9a 100644
--- a/dmesg.c
+++ b/dmesg.c
@@ -18,9 +18,11 @@
#include "busybox.h"
#include <stdio.h>
#include <stdlib.h>
+#include <getopt.h>
#if __GNU_LIBRARY__ < 5
-
+#include <sys/syscall.h>
+#include <linux/unistd.h>
#ifndef __alpha__
# define __NR_klogctl __NR_syslog
static inline _syscall3(int, klogctl, int, type, char *, b, int, len);