From 33e1247aed23fbddfea315464d3f5ceec94ca347 Mon Sep 17 00:00:00 2001 From: Vasudev Kamath Date: Sat, 11 Aug 2018 21:21:28 +0530 Subject: Fix undefined getcwd compiler error This patch includes unistd.h in non Windows platform which defines getcwd function on *NIX platforms. Last-Update: 2012-12-18 Forwarded: no Gbp-Pq: Name 1001_fix-getcwd-error.patch --- src/CTPP2FileSourceLoader.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/CTPP2FileSourceLoader.cpp b/src/CTPP2FileSourceLoader.cpp index 5bb4f66..dc3e07f 100644 --- a/src/CTPP2FileSourceLoader.cpp +++ b/src/CTPP2FileSourceLoader.cpp @@ -42,6 +42,8 @@ #ifdef WIN32 #include /* getcwd */ #include +#else + #include /* getcwd */ #endif /** -- cgit v1.2.3