1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

OpenBSD needs pthread.h

Like Linux, OpenBSD also needs pthread.h (likely that all the BSDs do).
This commit is contained in:
Brian Callahan 2019-07-20 00:13:09 -04:00 committed by Alexander Medvednikov
parent 26ed3fb372
commit 876dee6435

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