aboutsummaryrefslogtreecommitdiff
path: root/src/zenhttp
diff options
context:
space:
mode:
authorStefan Boberg <[email protected]>2023-10-27 14:36:35 +0200
committerGitHub <[email protected]>2023-10-27 14:36:35 +0200
commit2ffb62b6780c2d947b883e87a9534cf71d8b61c5 (patch)
tree62a890a672d37a7f584d1d0f96ae48b5628b9978 /src/zenhttp
parent0.2.30-pre0 (diff)
downloadzen-2ffb62b6780c2d947b883e87a9534cf71d8b61c5.tar.xz
zen-2ffb62b6780c2d947b883e87a9534cf71d8b61c5.zip
added missing includes (#504)
this change adds some includes to files which "inherit" includes from elsewhere this was exposed on another branch when removing some heavy dependencies from central headers
Diffstat (limited to 'src/zenhttp')
-rw-r--r--src/zenhttp/include/zenhttp/httptest.h1
-rw-r--r--src/zenhttp/testing/httptest.cpp1
-rw-r--r--src/zenhttp/transports/dlltransport.cpp5
3 files changed, 7 insertions, 0 deletions
diff --git a/src/zenhttp/include/zenhttp/httptest.h b/src/zenhttp/include/zenhttp/httptest.h
index a4008fb5e..afe71fbce 100644
--- a/src/zenhttp/include/zenhttp/httptest.h
+++ b/src/zenhttp/include/zenhttp/httptest.h
@@ -7,6 +7,7 @@
#include <zenhttp/httpserver.h>
#include <atomic>
+#include <unordered_map>
#if ZEN_WITH_TESTS
diff --git a/src/zenhttp/testing/httptest.cpp b/src/zenhttp/testing/httptest.cpp
index 3a0ad72a9..090f7855e 100644
--- a/src/zenhttp/testing/httptest.cpp
+++ b/src/zenhttp/testing/httptest.cpp
@@ -4,6 +4,7 @@
#include <zencore/compactbinarybuilder.h>
#include <zencore/compactbinarypackage.h>
+#include <zencore/fmtutils.h>
#include <zencore/timer.h>
#if ZEN_WITH_TESTS
diff --git a/src/zenhttp/transports/dlltransport.cpp b/src/zenhttp/transports/dlltransport.cpp
index 5c0084e44..dd4479e39 100644
--- a/src/zenhttp/transports/dlltransport.cpp
+++ b/src/zenhttp/transports/dlltransport.cpp
@@ -3,6 +3,7 @@
#include "dlltransport.h"
#include <zencore/except.h>
+#include <zencore/fmtutils.h>
#include <zencore/logging.h>
#include <zencore/scopeguard.h>
@@ -10,6 +11,10 @@
#include <thread>
#include <vector>
+ZEN_THIRD_PARTY_INCLUDES_START
+#include <fmt/format.h>
+ZEN_THIRD_PARTY_INCLUDES_END
+
#if ZEN_WITH_PLUGINS
namespace zen {