From 66423605f143e4aa04703d2a1a90ecc6154a47b5 Mon Sep 17 00:00:00 2001 From: James Turner Date: Sat, 14 Sep 2013 17:37:45 +0100 Subject: [PATCH] GCC 4.7 compile fix. Addresses: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=667167 --- utils/TerraSync/terrasync.cxx | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/utils/TerraSync/terrasync.cxx b/utils/TerraSync/terrasync.cxx index f8b8b2551..632e86477 100644 --- a/utils/TerraSync/terrasync.cxx +++ b/utils/TerraSync/terrasync.cxx @@ -26,13 +26,18 @@ #include #endif +#include + #ifdef HAVE_WINDOWS_H #include #endif +#ifdef HAVE_UNISTD_H +#include "unistd.h" +#endif + #ifdef __MINGW32__ -#include -#include +# include #elif defined(_MSC_VER) # include #endif