diff --git a/tests/dispatch_test.h b/tests/dispatch_test.h index a74da2190..99094ebbf 100644 --- a/tests/dispatch_test.h +++ b/tests/dispatch_test.h @@ -27,6 +27,10 @@ #include #endif +#if defined(__FreeBSD__) +#include +#endif + #define test_group_wait(g) do { \ if (dispatch_group_wait(g, dispatch_time(DISPATCH_TIME_NOW, \ 25ull * NSEC_PER_SEC))) { \