From a2289a06259ca42a175452667a1cffd67ab0c466 Mon Sep 17 00:00:00 2001 From: Sergey Lyubka Date: Thu, 28 Jul 2022 10:33:44 +0100 Subject: [PATCH] Fix unamalgamated build --- mongoose.c | 1 + src/tls_mbed.c | 1 + 2 files changed, 2 insertions(+) diff --git a/mongoose.c b/mongoose.c index 38002ca0..06973d9c 100644 --- a/mongoose.c +++ b/mongoose.c @@ -5014,6 +5014,7 @@ size_t mg_tls_pending(struct mg_connection *c) { + #if MG_ENABLE_MBEDTLS #if defined(MBEDTLS_VERSION_NUMBER) && MBEDTLS_VERSION_NUMBER >= 0x03000000 diff --git a/src/tls_mbed.c b/src/tls_mbed.c index f6923616..bd832704 100644 --- a/src/tls_mbed.c +++ b/src/tls_mbed.c @@ -1,3 +1,4 @@ +#include "fmt.h" #include "fs.h" #include "tls.h"