Fix the OSSL_TIME fallback in include/internal/e_os.h
authorRichard Levitte <levitte@openssl.org>
Wed, 14 Sep 2022 10:32:26 +0000 (12:32 +0200)
committerRichard Levitte <levitte@openssl.org>
Wed, 14 Sep 2022 10:32:26 +0000 (12:32 +0200)
commiteb51673e522855400a11de4569a3612c98c7b685
tree1931fe17d04e8d2075708c40607bbafc9348823a
parent45e7ef5fe34b3f519f1454c47dc08aa4563e4247
Fix the OSSL_TIME fallback in include/internal/e_os.h

There's a fallback `ossl_sleep()` that uses `OSSL_TIME`.  However,
nothing was done to ensure that `OSSL_TIME` is defined.

Adding an inclusion of "internal/time.h" should be enough.

Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Dmitry Belyavskiy <beldmit@gmail.com>
(Merged from https://github.com/openssl/openssl/pull/19214)
include/internal/e_os.h