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...