summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--main.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/main.c b/main.c
index 00b90add..4501d241 100644
--- a/main.c
+++ b/main.c
@@ -37,6 +37,10 @@
#include "man.h"
#include "roff.h"
+#ifndef MAP_FILE
+#define MAP_FILE 0
+#endif
+
#define UNCONST(a) ((void *)(uintptr_t)(const void *)(a))
/* FIXME: Intel's compiler? LLVM? pcc? */