aboutsummaryrefslogtreecommitdiff
path: root/textproc/sdcv/files/patch-src_mapfile.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/sdcv/files/patch-src_mapfile.hpp')
-rw-r--r--textproc/sdcv/files/patch-src_mapfile.hpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/textproc/sdcv/files/patch-src_mapfile.hpp b/textproc/sdcv/files/patch-src_mapfile.hpp
new file mode 100644
index 000000000000..930a9e3945ea
--- /dev/null
+++ b/textproc/sdcv/files/patch-src_mapfile.hpp
@@ -0,0 +1,12 @@
+--- src/mapfile.hpp.orig 2017-04-22 18:44:35 UTC
++++ src/mapfile.hpp
+@@ -4,6 +4,9 @@
+ # include "config.h"
+ #endif
+
++#include <cstdlib>
++#include <unistd.h>
++
+ #ifdef HAVE_MMAP
+ # include <sys/types.h>
+ # include <fcntl.h>