Mercurial > sdl-ios-xcode
comparison src/video/fbcon/SDL_fbvideo.c @ 3923:0dd8bdf173e2 SDL-1.2
Linux fbcon: don't include asm/page.h if we know getpagesize() exists, since
we don't need it, and doing so will hit #error lines on some CPU archs.
Thanks to Mike Frysinger for the heads up.
Fixes Bugzilla #414.
author | Ryan C. Gordon <icculus@icculus.org> |
---|---|
date | Wed, 14 Mar 2007 01:09:24 +0000 |
parents | 8a3a0f1179f3 |
children | a1b03ba2fcd0 |
comparison
equal
deleted
inserted
replaced
3922:4e02435ad2be | 3923:0dd8bdf173e2 |
---|---|
27 #include <stdio.h> | 27 #include <stdio.h> |
28 #include <fcntl.h> | 28 #include <fcntl.h> |
29 #include <unistd.h> | 29 #include <unistd.h> |
30 #include <sys/ioctl.h> | 30 #include <sys/ioctl.h> |
31 #include <sys/mman.h> | 31 #include <sys/mman.h> |
32 | |
33 #ifndef HAVE_GETPAGESIZE | |
32 #include <asm/page.h> /* For definition of PAGE_SIZE */ | 34 #include <asm/page.h> /* For definition of PAGE_SIZE */ |
35 #endif | |
36 | |
33 #include <linux/vt.h> | 37 #include <linux/vt.h> |
34 | 38 |
35 #include "SDL_video.h" | 39 #include "SDL_video.h" |
36 #include "SDL_mouse.h" | 40 #include "SDL_mouse.h" |
37 #include "../SDL_sysvideo.h" | 41 #include "../SDL_sysvideo.h" |