aboutsummaryrefslogtreecommitdiff
path: root/dmesg.c
diff options
context:
space:
mode:
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 20846f7c6..e88f549ca 100644
--- a/dmesg.c
+++ b/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>
27static inline _syscall3(int, klogctl, int, type, char *, b, int, len); 27static inline _syscall3(int, klogctl, int, type, char *, b, int, len);
28#else /* __alpha__ */ 28#else /* __alpha__ */
29#define klogctl syslog 29#define klogctl syslog