ports/textproc/sdcv/files/patch-src_mapfile.hpp
Sunpoet Po-Chuan Hsieh 56be027099 Update to 0.5.1
- Change MASTER_SITES from SF to GitHub
- Rename patch file

Changes:	https://github.com/Dushistov/sdcv/blob/master/NEWS
PR:		220451
Submitted by:	Anton Yuzhaninov <citrin@citrin.ru> (maintainer)
2017-07-06 20:58:29 +00: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>