Fix build with gcc47

maintainer timeout

PR:		ports/184575
Submitted by:	Christoph Moench-Tegeder
This commit is contained in:
Mathieu Arnold 2014-01-07 22:57:37 +00:00
parent 842abb4a59
commit a856c03c1a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=339046

View File

@ -0,0 +1,10 @@
--- 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 */