diff --git a/include/mbedtls/ssl.h b/include/mbedtls/ssl.h index 6660346e4..a23003cd7 100644 --- a/include/mbedtls/ssl.h +++ b/include/mbedtls/ssl.h @@ -31,7 +31,6 @@ #endif #include "bignum.h" -#include "ecp.h" #if defined(MBEDTLS_X509_CRT_PARSE_C) #include "x509_crt.h" @@ -43,6 +42,7 @@ #endif #if defined(MBEDTLS_ECDH_C) +#include "ecp.h" #include "ecdh.h" #endif