mirror of
https://github.com/yawut/SDL.git
synced 2026-08-28 03:34:44 -05:00
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. --HG-- branch : SDL-1.2
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user