initial import
[patches.git] / util-linux-swapon-headers.patch
1 diff --git a/mount/swapon.c b/mount/swapon.c
2 index a8e5cc1..54b1178 100644
3 --- a/mount/swapon.c
4 +++ b/mount/swapon.c
5 @@ -22,8 +22,10 @@
6 #define _PATH_FSTAB "/etc/fstab"
7 #define PROC_SWAPS "/proc/swaps"
8
9 -#ifdef SWAPON_HAS_TWO_ARGS
10 +#ifdef HAVE_ASM_PAGE_H
11 # include <asm/page.h>
12 +#endif
13 +#ifdef HAVE_SYS_SWAP_H
14 # include <sys/swap.h>
15 #endif
16