From: James Turner Date: Sat, 14 Sep 2013 16:37:45 +0000 (+0100) Subject: GCC 4.7 compile fix. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=66423605f143e4aa04703d2a1a90ecc6154a47b5;p=flightgear.git GCC 4.7 compile fix. Addresses: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=667167 --- 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