1
0
mirror of https://git.yoctoproject.org/poky synced 2026-05-09 17:39:31 +00:00
Files
poky/meta/recipes-graphics/libsdl/files/kernel-asm-page.patch
T
Yu Ke 7b441c2f3f upstream status: add for libsdl and xserver patches
(From OE-Core rev: 8afcc3551be8d608a2082ab7da7a6bfdba490f15)

Signed-off-by: Yu Ke <ke.yu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-07-26 15:48:59 +01:00

16 lines
533 B
Diff

Upstream-Status: Pending
diff --git a/src/video/Xext/Xxf86dga/XF86DGA.c b/src/video/Xext/Xxf86dga/XF86DGA.c
index 4e3d662..de38a3c 100644
--- a/src/video/Xext/Xxf86dga/XF86DGA.c
+++ b/src/video/Xext/Xxf86dga/XF86DGA.c
@@ -18,7 +18,7 @@ Copyright (c) 1995,1996 The XFree86 Project, Inc
#define HAS_MMAP_ANON
#include <sys/types.h>
#include <sys/mman.h>
-#include <asm/page.h> /* PAGE_SIZE */
+#include <unistd.h>
#define HAS_SC_PAGESIZE /* _SC_PAGESIZE may be an enum for Linux */
#define HAS_GETPAGESIZE
#endif /* linux */