]> git.saurik.com Git - wxWidgets.git/blobdiff - src/unix/threadpsx.cpp
cleanup
[wxWidgets.git] / src / unix / threadpsx.cpp
index 142268d1b069b98cb26d1c989c9ec5e94ef99006..4583b6b8680818a990a22256566f8116cfdf0602 100644 (file)
@@ -45,6 +45,7 @@
 #include <pthread.h>
 #include <errno.h>
 #include <time.h>
+#include <sys/time.h>           // needed for at least __QNX__
 #ifdef HAVE_SCHED_H
     #include <sched.h>
 #endif
@@ -56,9 +57,7 @@
 // we use wxFFile under Linux in GetCPUCount()
 #ifdef __LINUX__
     #include "wx/ffile.h"
-    // For setpriority.
-    #include <sys/time.h>
-    #include <sys/resource.h>
+    #include <sys/resource.h>   // for setpriority()
 #endif
 
 #ifdef __VMS