vifm: unbreak cross arm/glibc.

This commit is contained in:
Juan RP 2015-07-14 07:44:53 +02:00
parent f89cf231b5
commit 42dc789ead

View file

@ -0,0 +1,12 @@
--- src/utils/utils_nix.c.orig 2015-07-14 07:43:29.181540065 +0200
+++ src/utils/utils_nix.c 2015-07-14 07:43:48.108760240 +0200
@@ -23,6 +23,9 @@
#if defined (HAVE_LINUX_BINFMTS_H) && defined (HAVE_SYS_USER_H)
#include <linux/binfmts.h>
#include <sys/user.h>
+#ifndef PAGE_SIZE
+#define PAGE_SIZE 4096
+#endif
#endif
#include <sys/select.h> /* select() FD_SET FD_ZERO */