]> git.mxchange.org Git - simgear.git/blobdiff - simgear/threads/SGThread.cxx
Patch from Melchior Franz:
[simgear.git] / simgear / threads / SGThread.cxx
index ac3ee93343b2bdf7d6a3c02a7cb21afde0b3ba85..4119d7b4ab335c53d4dfa957785313c4a5db217c 100644 (file)
@@ -1,5 +1,10 @@
 #include <simgear/compiler.h>
-#include <sys/time.h>
+
+#if defined(_MSC_VER) || defined(__MINGW32__)
+#  include <time.h>
+#else
+#  include <sys/time.h>
+#endif
 
 #include "SGThread.hxx"