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:
parent
26ed3fb372
commit
876dee6435
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user