X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=simgear%2Fthreads%2FSGThread.cxx;h=c7a841b02bb9d8b0ddb3dadbf3621baca0812ca5;hb=6a7c2000027cd22eea603e936ddbad1a5bfc8b04;hp=484cce1d055a83741813a96bcb5bd0451eb33f5c;hpb=b30eb9c00c7106a7ffbfcbf89960b55fbaed8475;p=simgear.git diff --git a/simgear/threads/SGThread.cxx b/simgear/threads/SGThread.cxx index 484cce1d..c7a841b0 100644 --- a/simgear/threads/SGThread.cxx +++ b/simgear/threads/SGThread.cxx @@ -3,10 +3,15 @@ #if defined(_MSC_VER) || defined(__MINGW32__) # include #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 +# endif # include #endif #if _MSC_VER >= 1300 -# include "winsock2.h" +# include #endif #include "SGThread.hxx"