summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Gottwald <alexander.gottwald@s1999.tu-chemnitz.de>2004-09-15 16:33:21 +0000
committerAlexander Gottwald <alexander.gottwald@s1999.tu-chemnitz.de>2004-09-15 16:33:21 +0000
commit4e7180a2f0be7e6ac0147336ebdf36b20aa83da0 (patch)
treeed6ea5d3289d40f79c459865f516998ee09e83c3
parentcd53a16c3659d2f6a39168cec30eb19ec81233c1 (diff)
-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 */