Fix problem compiling base/thread.cpp in Mac OS X.

This commit is contained in:
David Capello 2012-04-07 19:30:46 -03:00
parent 55a4002ec5
commit 94ea65ff4d

View File

@ -15,9 +15,8 @@
#include <pthread.h> // Use pthread library in Unix-like systems
#endif
#if defined(HAVE_SCHED_YIELD) && defined(_POSIX_PRIORITY_SCHEDULING)
#if !defined(WIN32)
#include <unistd.h>
#elif !defined(WIN32)
#include <sys/time.h>
#endif