Merge r2990:2991 from branches/SDL-1.2: try to avoid asm/page.h in fbcon.
authorRyan C. Gordon <icculus@icculus.org>
Wed, 14 Mar 2007 01:10:43 +0000
changeset 209687256df87837
parent 2095 1d9cd8266e22
child 2097 b0048df1701a
Merge r2990:2991 from branches/SDL-1.2: try to avoid asm/page.h in fbcon.
src/video/fbcon/SDL_fbvideo.c
     1.1 --- a/src/video/fbcon/SDL_fbvideo.c	Tue Feb 20 22:54:25 2007 +0000
     1.2 +++ b/src/video/fbcon/SDL_fbvideo.c	Wed Mar 14 01:10:43 2007 +0000
     1.3 @@ -29,7 +29,11 @@
     1.4  #include <unistd.h>
     1.5  #include <sys/ioctl.h>
     1.6  #include <sys/mman.h>
     1.7 +
     1.8 +#ifndef HAVE_GETPAGESIZE
     1.9  #include <asm/page.h>           /* For definition of PAGE_SIZE */
    1.10 +#endif
    1.11 +
    1.12  #include <linux/vt.h>
    1.13  
    1.14  #include "SDL_video.h"