aboutsummaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac4
1 files changed, 3 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 23d4abdd..09b5bf5d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -294,7 +294,9 @@ dnl Test for support for SSL/TLS
dnl --------------------------
dnl
if test "x$enable_ssl" = "xyes"; then
- AC_CHECK_HEADER(mbedtls/ssl.h, ssl_ok=yes, ssl_ok=no)
+ AC_CHECK_HEADER(mbedtls/ssl.h, ssl_ok=yes, ssl_ok=no,
+ [#include <mbedtls/platform.h>])
+dnl In mbed TLS 2.3.0, ssl.h needs platform.h but fails to include it.
if test "x$ssl_ok" = "xyes"; then
old_libs="$LIBS"