summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/OS.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/OS.c b/src/OS.c
index 628372d..3764e3c 100644
--- a/src/OS.c
+++ b/src/OS.c
@@ -11,7 +11,8 @@
#endif
#if defined(linux)
-#include <asm/page.h> /* for PAGE_SIZE */
+/* kernel header doesn't work with -ansi */
+/* #include <asm/page.h> *//* for PAGE_SIZE */
#define HAS_GETPAGESIZE
#define HAS_SC_PAGESIZE /* _SC_PAGESIZE may be an enum for Linux */
#endif