diff options
Diffstat (limited to 'testing/spl-grsec/pagesize.patch')
-rw-r--r-- | testing/spl-grsec/pagesize.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/testing/spl-grsec/pagesize.patch b/testing/spl-grsec/pagesize.patch new file mode 100644 index 0000000000..825ec31f40 --- /dev/null +++ b/testing/spl-grsec/pagesize.patch @@ -0,0 +1,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) |