From 177b9f5cb3c9108d9547731721efb8cd6064b753 Mon Sep 17 00:00:00 2001 From: Egbert Eich Date: Thu, 6 May 2004 17:31:17 +0000 Subject: BugZilla #601: Fixing makedepend choking on floating point exception because CHAR_BIT is defined to __CHAR_BIT__ which is a compiler intrinsic define. BugZilla #605: Fixing build on IA64 which is broken due to the inclusion of the kernel header asm/page.h. Kernel headers however don't work with -ansi. The inclusion of asm/page.h can however savely be removed as it there are plenty of other ways to determine the page size. --- src/XF86DGA.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 #include -#include /* PAGE_SIZE */ +/* kernel header doesn't work with -ansi */ +/* #include */ /* PAGE_SIZE */ #define HAS_SC_PAGESIZE /* _SC_PAGESIZE may be an enum for Linux */ #define HAS_GETPAGESIZE #endif /* linux */ -- cgit v1.2.3