1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00
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

13 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>