summaryrefslogtreecommitdiffstats
path: root/sys-apps/util-linux/files/util-linux-2.12r-HAVE_asm_page_h-loop-aes.patch
blob: 8c5bbc7aece9746efce83658b7e685e235304094 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
fix building when asm/page.h is not available

http://bugs.gentoo.org/168278

the loop-aes patch adds this ...

--- mount/swapon.c
+++ mount/swapon.c
@@ -31,7 +31,9 @@
 #include <sys/ioctl.h>
 #include <sys/utsname.h>
 #include <sys/time.h>
+#ifdef HAVE_asm_page_h
 #include <asm/page.h>
+#endif
 #include "xmalloc.h"
 #include "swap_constants.h"
 #include "swapargs.h"