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