From 194c50ae3c8fc9b7cc22b25930c0057aed79b6c5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tam=C3=A1s=20B=C3=A1lint=20Misius?= Date: Thu, 16 Jan 2020 20:32:51 +0100 Subject: [PATCH] Much good #defining ENFORCE_HTTPS does if we don't include Config.h --- src/client/http/Request.h | 1 + src/client/http/RequestManager.h | 1 + 2 files changed, 2 insertions(+) diff --git a/src/client/http/Request.h b/src/client/http/Request.h index 6f4181c51..cb1ca70fa 100644 --- a/src/client/http/Request.h +++ b/src/client/http/Request.h @@ -1,6 +1,7 @@ #ifndef REQUEST_H #define REQUEST_H +#include "Config.h" #include #include "common/String.h" #ifndef NOHTTP diff --git a/src/client/http/RequestManager.h b/src/client/http/RequestManager.h index 9245df55a..ebd814b41 100644 --- a/src/client/http/RequestManager.h +++ b/src/client/http/RequestManager.h @@ -2,6 +2,7 @@ #ifndef REQUESTMANAGER_H #define REQUESTMANAGER_H +#include "Config.h" #include "common/tpt-minmax.h" // for MSVC, ensures windows.h doesn't cause compile errors by defining min/max #include #include