Commit 9e136b5e authored by Ryan C. Gordon's avatar Ryan C. Gordon

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
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/branches/SDL-1.2%402282
parent 214b58fb
......@@ -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"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment