diff --git a/compiler/cheaders.v b/compiler/cheaders.v index 33187c3b04..d4d7b723f4 100644 --- a/compiler/cheaders.v +++ b/compiler/cheaders.v @@ -38,6 +38,11 @@ CommonCHeaders = ' #include // os__wait uses wait on nix #endif +#ifdef __FreeBSD__ +#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...