aboutsummaryrefslogtreecommitdiff
path: root/lib/vtls/polarssl_threadlock.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/vtls/polarssl_threadlock.h')
-rw-r--r--lib/vtls/polarssl_threadlock.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/vtls/polarssl_threadlock.h b/lib/vtls/polarssl_threadlock.h
index b67b3f9ab..461479911 100644
--- a/lib/vtls/polarssl_threadlock.h
+++ b/lib/vtls/polarssl_threadlock.h
@@ -24,7 +24,7 @@
***************************************************************************/
#include "curl_setup.h"
-#ifdef USE_POLARSSL
+#if (defined USE_POLARSSL) || (defined USE_MBEDTLS)
#if defined(USE_THREADS_POSIX)
# define POLARSSL_MUTEX_T pthread_mutex_t