freebsd-ports/textproc/sdcv/files/patch-src__lib__mapfile.hpp
Martin Wilke 81d0f2b19b - Fix build with clang
PR:		185696
Submitted by:	ports fury
2014-01-19 14:28:36 +00:00

12 lines
211 B
C++

--- src/lib/mapfile.hpp.orig
+++ src/lib/mapfile.hpp
@@ -5,6 +5,9 @@
# include "config.h"
#endif
+#include <cstdlib>
+#include <unistd.h>
+
#ifdef HAVE_MMAP
# include <sys/types.h>
# include <fcntl.h>