summaryrefslogtreecommitdiff
path: root/sample
diff options
context:
space:
mode:
authorokhowang(王沛文) <okhowang@tencent.com>2020-07-24 17:19:14 +0800
committerokhowang(王沛文) <okhowang@tencent.com>2020-07-24 17:19:14 +0800
commit85c6759926b02094920f598d050aa72eb8dc2369 (patch)
tree28d908ddaffba5600cb8c7b259f53fbf1e7d3fb7 /sample
parent948ad3043590a36db6c8299bf0fb00ac3e1235ef (diff)
downloadlibevent-85c6759926b02094920f598d050aa72eb8dc2369.tar.gz
fix: compat mbedtls < 2.4
Diffstat (limited to 'sample')
-rw-r--r--sample/ssl-client-mbedtls.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sample/ssl-client-mbedtls.c b/sample/ssl-client-mbedtls.c
index 965913b2..b63681d2 100644
--- a/sample/ssl-client-mbedtls.c
+++ b/sample/ssl-client-mbedtls.c
@@ -22,7 +22,7 @@
#include "mbedtls/config.h"
#include "mbedtls/platform.h"
-#include "mbedtls/net_sockets.h"
+#include "mbedtls-compat.h"
#include "mbedtls/debug.h"
#include "mbedtls/ssl.h"
#include "mbedtls/entropy.h"