From faef649dec11e87c83ceaa01610e729eb3b5f4f6 Mon Sep 17 00:00:00 2001 From: Dave Rodgman Date: Wed, 11 May 2022 16:05:16 +0000 Subject: [PATCH] Fix Ubuntu compile error in udp_proxy.c Signed-off-by: Dave Rodgman --- programs/test/udp_proxy.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/programs/test/udp_proxy.c b/programs/test/udp_proxy.c index 41a90a9ad..6ffd3cda0 100644 --- a/programs/test/udp_proxy.c +++ b/programs/test/udp_proxy.c @@ -73,9 +73,10 @@ int main( void ) #endif #endif /* _MSC_VER */ #else /* ( _WIN32 || _WIN32_WCE ) && !EFIX64 && !EFI32 */ -#if defined(MBEDTLS_HAVE_TIME) +#if defined(MBEDTLS_HAVE_TIME) || (defined(MBEDTLS_TIMING_C) && !defined(MBEDTLS_TIMING_ALT)) #include #endif +#include #include #include #endif /* ( _WIN32 || _WIN32_WCE ) && !EFIX64 && !EFI32 */