diff src/video/fbcon/SDL_fbvideo.c @ 2096:87256df87837

Merge r2990:2991 from branches/SDL-1.2: try to avoid asm/page.h in fbcon.
author Ryan C. Gordon <icculus@icculus.org>
date Wed, 14 Mar 2007 01:10:43 +0000
parents cdaeb26ed66a
children 2c835d58faad
line wrap: on
line diff
--- a/src/video/fbcon/SDL_fbvideo.c	Tue Feb 20 22:54:25 2007 +0000
+++ b/src/video/fbcon/SDL_fbvideo.c	Wed Mar 14 01:10:43 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"