diff options
Diffstat (limited to 'swaponoff.c')
-rw-r--r-- | swaponoff.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/swaponoff.c b/swaponoff.c index 83aadd08a..223436c29 100644 --- a/swaponoff.c +++ b/swaponoff.c | |||
@@ -25,11 +25,13 @@ | |||
25 | #include "internal.h" | 25 | #include "internal.h" |
26 | #include <stdio.h> | 26 | #include <stdio.h> |
27 | #include <sys/mount.h> | 27 | #include <sys/mount.h> |
28 | #include <sys/swap.h> | ||
29 | #include <mntent.h> | 28 | #include <mntent.h> |
30 | #include <dirent.h> | 29 | #include <dirent.h> |
31 | #include <fstab.h> | ||
32 | #include <errno.h> | 30 | #include <errno.h> |
31 | #include <linux/unistd.h> | ||
32 | |||
33 | _syscall2(int, swapon, const char *, path, int, flags); | ||
34 | _syscall1(int, swapoff, const char *, path); | ||
33 | 35 | ||
34 | 36 | ||
35 | static int whichApp; | 37 | static int whichApp; |