It's needed by Linux and QNX and shouldn't do any harm under the others.
See #11817.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63718
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
#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
// 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