From 56e6cf406a9f9410184a6a3e8c2533d3f55f068b Mon Sep 17 00:00:00 2001 From: Sergey Lyubka Date: Thu, 28 Jul 2022 10:46:42 +0100 Subject: [PATCH] Fix unamalgamated build --- mongoose.c | 1 + src/tls_openssl.c | 1 + 2 files changed, 2 insertions(+) diff --git a/mongoose.c b/mongoose.c index 06973d9c..c5f0f103 100644 --- a/mongoose.c +++ b/mongoose.c @@ -5227,6 +5227,7 @@ long mg_tls_send(struct mg_connection *c, const void *buf, size_t len) { #endif + #if MG_ENABLE_OPENSSL static int mg_tls_err(struct mg_tls *tls, int res) { int err = SSL_get_error(tls->ssl, res); diff --git a/src/tls_openssl.c b/src/tls_openssl.c index 93207f27..15c992c2 100644 --- a/src/tls_openssl.c +++ b/src/tls_openssl.c @@ -1,3 +1,4 @@ +#include "fmt.h" #include "tls.h" #if MG_ENABLE_OPENSSL