summaryrefslogtreecommitdiff
path: root/swaponoff.c
diff options
context:
space:
mode:
authorEric Andersen2000-07-10 20:08:44 +0000
committerEric Andersen2000-07-10 20:08:44 +0000
commit9b2297a34e35be143155769a470331af2f2b9330 (patch)
tree9019a306ae6447fdb28db1843818c19cdbe2f2b9 /swaponoff.c
parenta0053735dc102e8f876005627bc09be2446e48c0 (diff)
downloadbusybox-9b2297a34e35be143155769a470331af2f2b9330.zip
busybox-9b2297a34e35be143155769a470331af2f2b9330.tar.gz
Remove yet more kernel header dependancies.
-Erik
Diffstat (limited to 'swaponoff.c')
-rw-r--r--swaponoff.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/swaponoff.c b/swaponoff.c
index 223436c..bb8395f 100644
--- a/swaponoff.c
+++ b/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);