]> git.saurik.com Git - wxWidgets.git/blobdiff - src/unix/threadpsx.cpp
Remove the apparently unneeded wxPGPropArgCls default ctor.
[wxWidgets.git] / src / unix / threadpsx.cpp
index b04eb1d60d28460048a5285734417ab58270f46b..952c77c9c76e0250c9e70105ba399f411f8b8bbb 100644 (file)
     #include <cxxabi.h>
 #endif
 
+#ifdef HAVE_SETPRIORITY
+    #include <sys/resource.h>   // for setpriority()
+#endif
+
 // we use wxFFile under Linux in GetCPUCount()
 #ifdef __LINUX__
     #include "wx/ffile.h"
-    #include <sys/resource.h>   // for setpriority()
 #endif
 
 #define THR_ID_CAST(id)  (reinterpret_cast<void*>(id))