diff options
author | Rob Landley | 2006-06-15 15:49:36 +0000 |
---|---|---|
committer | Rob Landley | 2006-06-15 15:49:36 +0000 |
commit | 22d26fc6ae2af584482deaf92f25bb6a7261ad78 (patch) | |
tree | 3e9e7c2b43314acdd1f4db7e3a89a3c69daf814a /util-linux/swaponoff.c | |
parent | d6e5083d16c940e36312f4a1b52317dcfc32c011 (diff) | |
download | busybox-22d26fc6ae2af584482deaf92f25bb6a7261ad78.zip busybox-22d26fc6ae2af584482deaf92f25bb6a7261ad78.tar.gz |
Patch from Yann Morin to put BLKGETSIZE64 in platform.h had rather a lot of
fallout due to the #include <sys/mount.h>. Removed that #include from various
applets and fixed up those that were unhappy when that #include was made
because they'd block copied stuff out of it. (Sigh.)
Diffstat (limited to 'util-linux/swaponoff.c')
-rw-r--r-- | util-linux/swaponoff.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/util-linux/swaponoff.c b/util-linux/swaponoff.c index 473325d..9bb70a1 100644 --- a/util-linux/swaponoff.c +++ b/util-linux/swaponoff.c @@ -7,16 +7,13 @@ * Licensed under the GPL v2, see the file LICENSE in this tarball. */ -#include <stdio.h> +#include "busybox.h" #include <mntent.h> #include <dirent.h> #include <errno.h> #include <string.h> -#include <stdlib.h> -#include <sys/mount.h> #include <sys/swap.h> -#include "busybox.h" static int swap_enable_disable(const char *device) { |