OpenBSD needs pthread.h
Like Linux, OpenBSD also needs pthread.h (likely that all the BSDs do).pull/1251/head
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