aports/community/nx-libs/xf86bigfont.patch

12 lines
399 B
Diff

--- 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>