aboutsummaryrefslogtreecommitdiff
path: root/util-linux
diff options
context:
space:
mode:
authorandersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277>2000-07-10 20:08:44 +0000
committerandersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277>2000-07-10 20:08:44 +0000
commite12ea6f60b41297f6df6abbb006cf2936b688705 (patch)
tree9019a306ae6447fdb28db1843818c19cdbe2f2b9 /util-linux
parente375b046136d0491c05938d3cddc93c1c69297f8 (diff)
downloadbusybox-w32-e12ea6f60b41297f6df6abbb006cf2936b688705.tar.gz
busybox-w32-e12ea6f60b41297f6df6abbb006cf2936b688705.tar.bz2
busybox-w32-e12ea6f60b41297f6df6abbb006cf2936b688705.zip
Remove yet more kernel header dependancies.
-Erik git-svn-id: svn://busybox.net/trunk/busybox@804 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'util-linux')
-rw-r--r--util-linux/dmesg.c2
-rw-r--r--util-linux/swaponoff.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/util-linux/dmesg.c b/util-linux/dmesg.c
index e88f549ca..b6c990d99 100644
--- a/util-linux/dmesg.c
+++ b/util-linux/dmesg.c
@@ -23,7 +23,7 @@
23 23
24#ifndef __alpha__ 24#ifndef __alpha__
25# define __NR_klogctl __NR_syslog 25# define __NR_klogctl __NR_syslog
26#include <linux/unistd.h> 26#include <sys/syscall.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
diff --git a/util-linux/swaponoff.c b/util-linux/swaponoff.c
index 223436c29..bb8395fa4 100644
--- a/util-linux/swaponoff.c
+++ b/util-linux/swaponoff.c
@@ -28,7 +28,7 @@
28#include <mntent.h> 28#include <mntent.h>
29#include <dirent.h> 29#include <dirent.h>
30#include <errno.h> 30#include <errno.h>
31#include <linux/unistd.h> 31#include <sys/syscall.h>
32 32
33_syscall2(int, swapon, const char *, path, int, flags); 33_syscall2(int, swapon, const char *, path, int, flags);
34_syscall1(int, swapoff, const char *, path); 34_syscall1(int, swapoff, const char *, path);