]> git.mxchange.org Git - flightgear.git/commitdiff
GCC 4.7 compile fix.
authorJames Turner <zakalawe@mac.com>
Sat, 14 Sep 2013 16:37:45 +0000 (17:37 +0100)
committerJames Turner <zakalawe@mac.com>
Sat, 14 Sep 2013 16:39:42 +0000 (17:39 +0100)
Addresses:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=667167

utils/TerraSync/terrasync.cxx

index f8b8b25511d8f55d4b80f3ced0e426208951fb14..632e86477c257a2da2e422531f728a311611e3ef 100644 (file)
 #include <config.h>
 #endif
 
+#include <simgear/simgear_config.h>
+
 #ifdef HAVE_WINDOWS_H
 #include <windows.h>
 #endif
 
+#ifdef HAVE_UNISTD_H
+#include "unistd.h"
+#endif
+
 #ifdef __MINGW32__
-#include <time.h>
-#include <unistd.h>
+#   include <time.h>
 #elif defined(_MSC_VER)
 #   include <io.h>
 #endif