summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/XF86DGA.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/XF86DGA.c b/src/XF86DGA.c
index 62cf81e..c812bf4 100644
--- a/src/XF86DGA.c
+++ b/src/XF86DGA.c
@@ -19,7 +19,8 @@ Copyright (c) 1995,1996 The XFree86 Project, Inc
#define HAS_MMAP_ANON
#include <sys/types.h>
#include <sys/mman.h>
-#include <asm/page.h> /* PAGE_SIZE */
+/* kernel header doesn't work with -ansi */
+/* #include <asm/page.h> */ /* PAGE_SIZE */
#define HAS_SC_PAGESIZE /* _SC_PAGESIZE may be an enum for Linux */
#define HAS_GETPAGESIZE
#endif /* linux */