From 876dee64357f85e7c0b0725ff52b93a26034e1af Mon Sep 17 00:00:00 2001 From: Brian Callahan Date: Sat, 20 Jul 2019 00:13:09 -0400 Subject: [PATCH] OpenBSD needs pthread.h Like Linux, OpenBSD also needs pthread.h (likely that all the BSDs do). --- compiler/main.v | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/main.v b/compiler/main.v index 14ab56d59d..3cb30f7a39 100644 --- a/compiler/main.v +++ b/compiler/main.v @@ -189,7 +189,7 @@ fn (v mut V) compile() { #include // int64_t etc -#ifdef __linux__ +#if defined(__linux__) || defined(__OpenBSD__) #include #endif