Include sys/time.h from threadpsx.cpp for all systems.

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
This commit is contained in:
Vadim Zeitlin
2010-03-20 12:45:39 +00:00
parent 7fbff80203
commit feedacd880

View 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