diff options
author | Egbert Eich <eich@suse.de> | 2004-05-06 17:31:17 +0000 |
---|---|---|
committer | Egbert Eich <eich@suse.de> | 2004-05-06 17:31:17 +0000 |
commit | 177b9f5cb3c9108d9547731721efb8cd6064b753 (patch) | |
tree | ed6ea5d3289d40f79c459865f516998ee09e83c3 | |
parent | a18b2a60c586926bf51e40aae0adf65c0b232184 (diff) |
BugZilla #601: Fixing makedepend choking on floating point exceptionxprint_packagertest_20041217_basexprint_packagertest_20041125_basesco_port_update-baserel-0-6-1lg3d-rel-0-7-0lg3d-rel-0-6-2lg3d-baseXORG-6_8_99_901XORG-6_8_99_900XORG-6_8_99_9XORG-6_8_99_8XORG-6_8_99_7XORG-6_8_99_6XORG-6_8_99_5XORG-6_8_99_4XORG-6_8_99_3XORG-6_8_99_2XORG-6_8_99_16XORG-6_8_99_15XORG-6_8_99_14XORG-6_8_99_13XORG-6_8_99_12XORG-6_8_99_11XORG-6_8_99_10XORG-6_8_99_1XORG-6_8_2XORG-6_8_1_904XORG-6_8_1_903XORG-6_8_1_902XORG-6_8_1_901XORG-6_8_1XORG-6_8_0XORG-6_7_99_904XORG-6_7_99_903XORG-6_7_99_902XORG-6_7_99_901XORG-6_7_99_2XORG-6_7_99_1xprint_packagertest_20041217xprint_packagertest_20041125lg3d-masterlg3d-eventlg3d-dev-0-7-1lg3d-dev-0-7-0lg3d-dev-0-6-latestlg3d-dev-0-6-2lg3d-dev-0-6-1-latestlg3d-dev-0-6-1-currentlg3d-dev-0-6-1-1lg3d-dev-0-6-1lg3dXORG-6_8-branchCOMPOSITEWRAP
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.
-rw-r--r-- | src/XF86DGA.c | 3 |
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 */ |