From d09d9330415d463ca19be9394b02ce11b3366f7e Mon Sep 17 00:00:00 2001 From: vnugent Date: Mon, 13 May 2024 22:33:50 -0400 Subject: fix: update mbedtls inline issue includes --- src/crypto/impl/mbedtls.c | 24 +++++++++++++----------- 1 file changed, 13 insertions(+), 11 deletions(-) diff --git a/src/crypto/impl/mbedtls.c b/src/crypto/impl/mbedtls.c index 057e7b4..df5201f 100644 --- a/src/crypto/impl/mbedtls.c +++ b/src/crypto/impl/mbedtls.c @@ -31,20 +31,22 @@ /* Inline errors on linux in header files on linux */ #ifndef inline #define inline __inline -#endif - -#include -#include -#include -#include -#include -#include - -#ifndef inline + #include + #include + #include + #include + #include + #include #undef inline +#else + #include + #include + #include + #include + #include + #include #endif - _IMPLSTB const mbedtls_md_info_t* _mbed_sha256_alg(void) { const mbedtls_md_info_t* info; -- cgit