From 5d7513ad1d0c061f97373b684d669ebf98d7867e 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. --- lisp/lisp.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lisp/lisp.c b/lisp/lisp.c index da5d1c8..0231727 100644 --- a/lisp/lisp.c +++ b/lisp/lisp.c @@ -46,7 +46,8 @@ #endif #if defined(linux) -#include /* for PAGE_SIZE */ +/* kernel header doesn't work with -ansi */ +/* #include */ /* for PAGE_SIZE */ #define HAS_GETPAGESIZE #define HAS_SC_PAGESIZE /* _SC_PAGESIZE may be an enum for Linux */ #endif -- cgit v1.2.3