src/video/fbcon/SDL_fbvideo.c
branchSDL-1.2
changeset 3923 0dd8bdf173e2
parent 3917 8a3a0f1179f3
child 4159 a1b03ba2fcd0
--- a/src/video/fbcon/SDL_fbvideo.c	Fri Feb 23 00:37:07 2007 +0000
+++ b/src/video/fbcon/SDL_fbvideo.c	Wed Mar 14 01:09:24 2007 +0000
@@ -29,7 +29,11 @@
 #include <unistd.h>
 #include <sys/ioctl.h>
 #include <sys/mman.h>
+
+#ifndef HAVE_GETPAGESIZE
 #include <asm/page.h>		/* For definition of PAGE_SIZE */
+#endif
+
 #include <linux/vt.h>
 
 #include "SDL_video.h"