From f0a24546e621c5c609783335b1d2b39fb71d4d91 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Sun, 31 May 2020 09:51:53 +0200 Subject: dev-util/laminar: revert and patch imclude --- dev-util/laminar/files/add-missing-includes.patch | 40 +++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 dev-util/laminar/files/add-missing-includes.patch (limited to 'dev-util/laminar/files') diff --git a/dev-util/laminar/files/add-missing-includes.patch b/dev-util/laminar/files/add-missing-includes.patch new file mode 100644 index 0000000..546e338 --- /dev/null +++ b/dev-util/laminar/files/add-missing-includes.patch @@ -0,0 +1,40 @@ +From 6c61fb311169146eb40c835e1285ac97e43b2082 Mon Sep 17 00:00:00 2001 +From: Oliver Giles +Date: Fri, 22 May 2020 11:42:12 +1200 +Subject: [PATCH] add missing #includes + +New compiler version exposed missing header files + +resolves #123 +--- + src/conf.h | 1 + + src/server.h | 1 + + 2 files changed, 2 insertions(+) + +diff --git a/src/conf.h b/src/conf.h +index cdabf95..bc355a7 100644 +--- a/src/conf.h ++++ b/src/conf.h +@@ -19,6 +19,7 @@ + #ifndef LAMINAR_CONF_H_ + #define LAMINAR_CONF_H_ + ++#include + #include + + class StringMap : public std::unordered_map { +diff --git a/src/server.h b/src/server.h +index 048f388..e7c0b4f 100644 +--- a/src/server.h ++++ b/src/server.h +@@ -24,6 +24,7 @@ + #include + #include + #include ++#include + + struct Laminar; + struct Http; +-- +2.26.2 + -- cgit v1.2.3