diff options
author | Eric Andersen <andersen@codepoet.org> | 2000-07-10 20:08:44 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2000-07-10 20:08:44 +0000 |
commit | 9b2297a34e35be143155769a470331af2f2b9330 (patch) | |
tree | 9019a306ae6447fdb28db1843818c19cdbe2f2b9 /util-linux | |
parent | a0053735dc102e8f876005627bc09be2446e48c0 (diff) | |
download | busybox-9b2297a34e35be143155769a470331af2f2b9330.tar.gz |
Remove yet more kernel header dependancies.
-Erik
Diffstat (limited to 'util-linux')
-rw-r--r-- | util-linux/dmesg.c | 2 | ||||
-rw-r--r-- | util-linux/swaponoff.c | 2 |
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 @@ #ifndef __alpha__ # define __NR_klogctl __NR_syslog -#include <linux/unistd.h> +#include <sys/syscall.h> static inline _syscall3(int, klogctl, int, type, char *, b, int, len); #else /* __alpha__ */ #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 @@ #include <mntent.h> #include <dirent.h> #include <errno.h> -#include <linux/unistd.h> +#include <sys/syscall.h> _syscall2(int, swapon, const char *, path, int, flags); _syscall1(int, swapoff, const char *, path); |