freebsd-ports/textproc/ctpp2/files/patch-src-CTPP2FileSourceLoader.cpp
Mathieu Arnold a856c03c1a Fix build with gcc47
maintainer timeout

PR:		ports/184575
Submitted by:	Christoph Moench-Tegeder
2014-01-07 22:57:37 +00:00

10 lines
299 B
C++

--- src/CTPP2FileSourceLoader.cpp.orig 2013-11-16 14:26:59.000000000 +0100
+++ src/CTPP2FileSourceLoader.cpp 2013-11-16 14:27:17.000000000 +0100
@@ -38,6 +38,7 @@
#include <errno.h>
#include <stdio.h>
#include <stdlib.h>
+#include <unistd.h>
#ifdef WIN32
#include <direct.h> /* getcwd */