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 */