From 6af56610ace0ceea1d4d70480071e64033ea2798 Mon Sep 17 00:00:00 2001 From: raspopov Date: Sat, 24 Oct 2020 17:20:34 +0300 Subject: [PATCH] Fixed "config.h" file placement to help using it as a precompiled header. Signed-off-by: raspopov --- lib/net_mosq_ocsp.c | 2 ++ lib/tls_mosq.c | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/lib/net_mosq_ocsp.c b/lib/net_mosq_ocsp.c index af1511f6..50fcfae1 100644 --- a/lib/net_mosq_ocsp.c +++ b/lib/net_mosq_ocsp.c @@ -40,6 +40,8 @@ be used in advertising or otherwise to promote the sale, use or other dealings in this Software without prior written authorization of the copyright holder. */ +#include "config.h" + #ifdef WITH_TLS #include #include diff --git a/lib/tls_mosq.c b/lib/tls_mosq.c index 757941a1..50e72059 100644 --- a/lib/tls_mosq.c +++ b/lib/tls_mosq.c @@ -14,10 +14,10 @@ Contributors: Roger Light - initial implementation and documentation. */ -#ifdef WITH_TLS - #include "config.h" +#ifdef WITH_TLS + #ifdef WIN32 # include # include