diff --git a/include/internal/e_os.h b/include/internal/e_os.h index 0e52036434..1be20f61f9 100644 --- a/include/internal/e_os.h +++ b/include/internal/e_os.h @@ -320,6 +320,7 @@ static ossl_inline void ossl_sleep(unsigned long millis) } #else /* Fallback to a busy wait */ +# include "internal/time.h" static ossl_inline void ossl_sleep(unsigned long millis) { const OSSL_TIME finish = ossl_time_add(ossl_time_now(), ossl_ms2time(millis));