opnsense-ports/textproc/sdcv/files/patch-src_mapfile.hpp
Franco Fichtner afc458f246 */*: sync with upstream
Taken from: HardenedBSD
2017-07-07 05:02:23 +02:00

12 lines
227 B
C++

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