diff options
Diffstat (limited to 'util-linux/swaponoff.c')
-rw-r--r-- | util-linux/swaponoff.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/util-linux/swaponoff.c b/util-linux/swaponoff.c index eda15100b..d792c708d 100644 --- a/util-linux/swaponoff.c +++ b/util-linux/swaponoff.c @@ -24,10 +24,13 @@ #include "busybox.h" #include <stdio.h> -#include <sys/mount.h> #include <mntent.h> #include <dirent.h> #include <errno.h> +#include <stdlib.h> +#include <sys/mount.h> +#include <sys/syscall.h> +#include <linux/unistd.h> _syscall2(int, swapon, const char *, path, int, flags); _syscall1(int, swapoff, const char *, path); |