Fixed "config.h" file placement to help using it as a precompiled header.

Signed-off-by: raspopov <raspopov@cherubicsoft.com>
pull/1860/head
raspopov 5 years ago committed by Roger Light
parent 6f4e0a1568
commit 6af56610ac

@ -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. in this Software without prior written authorization of the copyright holder.
*/ */
#include "config.h"
#ifdef WITH_TLS #ifdef WITH_TLS
#include <logging_mosq.h> #include <logging_mosq.h>
#include <mosquitto_internal.h> #include <mosquitto_internal.h>

@ -14,10 +14,10 @@ Contributors:
Roger Light - initial implementation and documentation. Roger Light - initial implementation and documentation.
*/ */
#ifdef WITH_TLS
#include "config.h" #include "config.h"
#ifdef WITH_TLS
#ifdef WIN32 #ifdef WIN32
# include <winsock2.h> # include <winsock2.h>
# include <ws2tcpip.h> # include <ws2tcpip.h>

Loading…
Cancel
Save