]> git.mxchange.org Git - simgear.git/blobdiff - simgear/threads/SGThread.hxx
Patch from Melchior Franz:
[simgear.git] / simgear / threads / SGThread.hxx
index e2fbcdfbbc60b88e6986a3ab0d0a3d68ac65feeb..0eb935c1637d437407373e754e1fc8ce398eea3f 100644 (file)
 #ifndef SGTHREAD_HXX_INCLUDED
 #define SGTHREAD_HXX_INCLUDED 1
 
+#include <simgear/compiler.h>
+
 #include <pthread.h>
-#include <cassert>
-#include <cerrno>
+#if defined ( SG_HAVE_STD_INCLUDES )
+#  include <cassert>
+#  include <cerrno>
+#else
+#  include <assert.h>
+#  include <sys/errno.h>
+#endif
 
 class SGThread;