diff --git a/libs/gst/check/libcheck/check.c b/libs/gst/check/libcheck/check.c index fe4007a86c..88e9e10e34 100644 --- a/libs/gst/check/libcheck/check.c +++ b/libs/gst/check/libcheck/check.c @@ -31,6 +31,10 @@ #include "check_impl.h" #include "check_msg.h" +#ifdef HAVE_UNISTD_H +#include /* for _POSIX_VERSION */ +#endif + #ifndef DEFAULT_TIMEOUT #define DEFAULT_TIMEOUT 4 #endif