include <pthread> on all BSDs

pull/1279/head^2
Alexander Medvednikov 2019-07-23 23:15:13 +02:00
parent b06cfd702d
commit 3cf8e18cf6
1 changed files with 2 additions and 10 deletions

View File

@ -189,19 +189,11 @@ fn (v mut V) compile() {
#include <inttypes.h> // int64_t etc
#if defined(__linux__) || defined(__OpenBSD__)
#include <pthread.h>
#endif
#ifdef __APPLE__
#include <pthread.h>
#endif
#ifdef _WIN32
#include <windows.h>
//#include <WinSock2.h>
#else
#include <pthread.h>
#endif
//================================== TYPEDEFS ================================*/