blob: c18ec176fbf854adfa83a58f3805bd347254da93 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
do not use kernel headers' asm/page.h
http://bugs.gentoo.org/187083
--- libs/video/targets/vid_fbdev.c
+++ libs/video/targets/vid_fbdev.c
@@ -58,7 +58,7 @@
#include <signal.h>
#include <stdio.h>
#include <stdlib.h>
-#include <asm/page.h>
+#define PAGE_MASK sysconf(_SC_PAGE_SIZE)
#include <linux/kd.h>
#include <linux/vt.h>
#include <sys/stat.h>
|