From 6d8548d7a5a1079407b250f243f52e891bb4f2d3 Mon Sep 17 00:00:00 2001 From: eau Date: Sun, 20 Oct 2019 06:00:01 +0200 Subject: [PATCH] compiler: add missing header file on OpenBSD --- vlib/compiler/cheaders.v | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/vlib/compiler/cheaders.v b/vlib/compiler/cheaders.v index ee75567399..79a93b7982 100644 --- a/vlib/compiler/cheaders.v +++ b/vlib/compiler/cheaders.v @@ -48,6 +48,12 @@ CommonCHeaders = ' #include // os__wait uses wait on nix #endif +#ifdef __OpenBSD__ +#include +#include +#include // os__wait uses wait on nix +#endif + #define EMPTY_STRUCT_DECLARATION #define EMPTY_STRUCT_INITIALIZATION 0 // Due to a tcc bug, the length of an array needs to be specified, but GCC crashes if it is...