diff options
Diffstat (limited to 'mount/swapon.c')
-rw-r--r-- | mount/swapon.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/mount/swapon.c b/mount/swapon.c index 7337e32cb..a6e6b509b 100644 --- a/mount/swapon.c +++ b/mount/swapon.c @@ -13,7 +13,6 @@ #include <sys/stat.h> #include "xmalloc.h" #include "swap_constants.h" -#include "swapargs.h" #include "nls.h" #include "mount_blkid.h" #include "mount_by_label.h" @@ -24,6 +23,11 @@ #define _PATH_FSTAB "/etc/fstab" #define PROC_SWAPS "/proc/swaps" +#ifdef SWAPON_HAS_TWO_ARGS +# include <asm/page.h> +# include <sys/swap.h> +#endif + #define SWAPON_NEEDS_TWO_ARGS #define QUIET 1 |