OpenBSD needs pthread.h

Like Linux, OpenBSD also needs pthread.h (likely that all the BSDs do).
pull/1251/head
Brian Callahan 2019-07-20 00:13:09 -04:00 committed by Alexander Medvednikov
parent 26ed3fb372
commit 876dee6435
1 changed files with 1 additions and 1 deletions

View File

@ -189,7 +189,7 @@ fn (v mut V) compile() {
#include <inttypes.h> // int64_t etc
#ifdef __linux__
#if defined(__linux__) || defined(__OpenBSD__)
#include <pthread.h>
#endif