aboutsummaryrefslogtreecommitdiff
path: root/textproc/sdcv/files/patch-src_mapfile.hpp
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2017-07-06 20:58:29 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2017-07-06 20:58:29 +0000
commit56be0270994b339116a760b93a6329cd6bb7904d (patch)
treecbcaa5c5abd4b9c791b83500e27b0af9ea831150 /textproc/sdcv/files/patch-src_mapfile.hpp
parent11304b7a03ea77a0e18190f9d49cc28ef7ab591c (diff)
downloadports-56be0270994b339116a760b93a6329cd6bb7904d.tar.gz
ports-56be0270994b339116a760b93a6329cd6bb7904d.zip
Notes
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>