comparison src/video/Xext/Xxf86dga/XF86DGA.c @ 4031:f0b8bbaf8de5 SDL-1.2

Fixed bug #453 That's silly, we included <asm/page.h> even though we know we have getpagesize()
author Sam Lantinga <slouken@libsdl.org>
date Tue, 10 Jul 2007 05:35:33 +0000
parents ecba4bbaf9c2
children 24c3ca822658
comparison
equal deleted inserted replaced
4030:e6c20cda4e28 4031:f0b8bbaf8de5
16 16
17 #if defined(linux) 17 #if defined(linux)
18 #define HAS_MMAP_ANON 18 #define HAS_MMAP_ANON
19 #include <sys/types.h> 19 #include <sys/types.h>
20 #include <sys/mman.h> 20 #include <sys/mman.h>
21 #include <asm/page.h> /* PAGE_SIZE */ 21 /*#include <asm/page.h> /* PAGE_SIZE */
22 #define HAS_SC_PAGESIZE /* _SC_PAGESIZE may be an enum for Linux */ 22 #define HAS_SC_PAGESIZE /* _SC_PAGESIZE may be an enum for Linux */
23 #define HAS_GETPAGESIZE 23 #define HAS_GETPAGESIZE
24 #endif /* linux */ 24 #endif /* linux */
25 25
26 #if defined(CSRG_BASED) 26 #if defined(CSRG_BASED)