$OpenBSD: patch-include_mbedtls_config_h,v 1.1 2016/08/27 07:46:50 juanfra Exp $

MBEDTLS_THREADING_PTHREAD and MBEDTLS_THREADING_C are required by
www/hiawatha.

--- include/mbedtls/config.h.orig	Sat Aug 27 03:17:22 2016
+++ include/mbedtls/config.h	Sat Aug 27 03:18:03 2016
@@ -1246,7 +1246,7 @@
  *
  * Uncomment this to enable pthread mutexes.
  */
-//#define MBEDTLS_THREADING_PTHREAD
+#define MBEDTLS_THREADING_PTHREAD
 
 /**
  * \def MBEDTLS_VERSION_FEATURES
@@ -2261,7 +2261,7 @@
  *
  * Enable this layer to allow use of mutexes within mbed TLS
  */
-//#define MBEDTLS_THREADING_C
+#define MBEDTLS_THREADING_C
 
 /**
  * \def MBEDTLS_TIMING_C
