Common: Cleanup thread includes.

This commit is contained in:
Emmanuel Gil Peyrot committed 2015-06-28 00:36:53 +01:00
1 parent 13e6876463
commit 2a36edfd86
2 files changed
+15 -18

No files matched your search

+13 -4
View File
@@ -5,11 +5,20 @@
#include "common/thread.h"
#ifdef __APPLE__
#include <mach/mach.h>
#elif defined(BSD4_4) || defined(__OpenBSD__)
#include <pthread_np.h>
#include <mach/mach.h>
#elif defined(_WIN32)
#include <Windows.h>
#include <Windows.h>
#else
#if defined(BSD4_4) || defined(__OpenBSD__)
#include <pthread_np.h>
#else
#include <pthread.h>
#endif
#include <sched.h>
#endif
#ifndef _WIN32
#include <unistd.h>
#endif
namespace Common