aboutsummaryrefslogtreecommitdiffstats
path: root/testing/spl-grsec/pagesize.patch
blob: 825ec31f4057e3a49f1333da638a0d8a4e4be749 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
diff -urw src/spl-master/include/sys/sysmacros.h spl-master/include/sys/sysmacros.h
--- src/spl-master/include/sys/sysmacros.h	2014-06-06 17:04:01.416666671 +0000
+++ spl-master/include/sys/sysmacros.h	2014-06-06 17:02:23.586666828 +0000
@@ -104,7 +104,9 @@
 
 /* Missing macros
  */
+#ifndef PAGESIZE
 #define PAGESIZE			PAGE_SIZE
+#endif
 
 /* from Solaris sys/byteorder.h */
 #define BSWAP_8(x)	((x) & 0xff)