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

Signed-off-by: raspopov <raspopov@cherubicsoft.com>
This commit is contained in:
raspopov 2020-10-24 17:20:34 +03:00 committed by Roger Light
parent 6f4e0a1568
commit 6af56610ac
2 changed files with 4 additions and 2 deletions

View File

@ -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 <logging_mosq.h>
#include <mosquitto_internal.h>

View File

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