Much good #defining ENFORCE_HTTPS does if we don't include Config.h

This commit is contained in:
Tamás Bálint Misius 2020-01-16 20:32:51 +01:00
parent fe87203eb4
commit 194c50ae3c
No known key found for this signature in database
GPG Key ID: 5B472A12F6ECA9F2
2 changed files with 2 additions and 0 deletions

View File

@ -1,6 +1,7 @@
#ifndef REQUEST_H #ifndef REQUEST_H
#define REQUEST_H #define REQUEST_H
#include "Config.h"
#include <map> #include <map>
#include "common/String.h" #include "common/String.h"
#ifndef NOHTTP #ifndef NOHTTP

View File

@ -2,6 +2,7 @@
#ifndef REQUESTMANAGER_H #ifndef REQUESTMANAGER_H
#define 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 "common/tpt-minmax.h" // for MSVC, ensures windows.h doesn't cause compile errors by defining min/max
#include <thread> #include <thread>
#include <mutex> #include <mutex>