From 080e4d44f3396f63b33953f6c607b2f70a10ad01 Mon Sep 17 00:00:00 2001 From: Paul Sokolovsky Date: Thu, 22 Sep 2016 01:30:48 +0300 Subject: [PATCH] extmod/modussl_mbedtls: Use 2-component include paths. This is required to use mbedTLS versions from various sources, e.g. mainline vs embedded into Zephyr RTOS. --- extmod/modussl_mbedtls.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/extmod/modussl_mbedtls.c b/extmod/modussl_mbedtls.c index 20ae1c197a..3e0a5c2816 100644 --- a/extmod/modussl_mbedtls.c +++ b/extmod/modussl_mbedtls.c @@ -36,14 +36,14 @@ #include "py/stream.h" // mbedtls_time_t -#include "mbedtls/include/mbedtls/platform.h" -#include "mbedtls/include/mbedtls/net.h" -#include "mbedtls/include/mbedtls/ssl.h" -#include "mbedtls/include/mbedtls/x509_crt.h" -#include "mbedtls/include/mbedtls/pk.h" -#include "mbedtls/include/mbedtls/entropy.h" -#include "mbedtls/include/mbedtls/ctr_drbg.h" -#include "mbedtls/include/mbedtls/debug.h" +#include "mbedtls/platform.h" +#include "mbedtls/net.h" +#include "mbedtls/ssl.h" +#include "mbedtls/x509_crt.h" +#include "mbedtls/pk.h" +#include "mbedtls/entropy.h" +#include "mbedtls/ctr_drbg.h" +#include "mbedtls/debug.h" typedef struct _mp_obj_ssl_socket_t { mp_obj_base_t base;