summaryrefslogtreecommitdiffstats
path: root/testing/nx-libs/xf86bigfont.patch
blob: 94578dd7788da5cd2f9e9f31b81b0f7973a0a9bf (plain)
1
2
3
4
5
6
7
8
9
10
11
--- nx-libs-3.5.0.28/nx-X11/programs/Xserver/Xext/xf86bigfont.c
+++ ../xf86bigfont.c
@@ -46,7 +46,7 @@
 /* Linux libc4 and libc5 only (because glibc doesn't include kernel headers):
    Linux 2.0.x and 2.2.x define SHMLBA as PAGE_SIZE, but forget to define
    PAGE_SIZE. It is defined in <asm/page.h>. */
-#include <asm/page.h>
+#include <limits.h>
 #endif
 #ifdef SVR4
 #include <sys/sysmacros.h>