summaryrefslogtreecommitdiff
path: root/util-linux/dmesg.c
diff options
context:
space:
mode:
Diffstat (limited to 'util-linux/dmesg.c')
-rw-r--r--util-linux/dmesg.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/util-linux/dmesg.c b/util-linux/dmesg.c
index c220d90..c21f84c 100644
--- a/util-linux/dmesg.c
+++ b/util-linux/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);