]> git.mxchange.org Git - simgear.git/blobdiff - simgear/threads/SGThread.cxx
Update the code a bit more, add a function to retreive the last error string and...
[simgear.git] / simgear / threads / SGThread.cxx
index 484cce1d055a83741813a96bcb5bd0451eb33f5c..d786c24a1a496dcace9e6335c0aafc53396d1883 100644 (file)
@@ -3,6 +3,11 @@
 #if defined(_MSC_VER) || defined(__MINGW32__)
 #  include <time.h>
 #else
+#  if defined ( sgi ) && !defined( __GNUC__ )
+     // This works around a bug triggered when using MipsPro 7.4.1
+     // and (at least) IRIX 6.5.20
+#    include <iostream>
+#  endif
 #  include <sys/time.h>
 #endif
 #if _MSC_VER >= 1300