summaryrefslogtreecommitdiff
path: root/dev-util/laminar/files
diff options
context:
space:
mode:
Diffstat (limited to 'dev-util/laminar/files')
-rw-r--r--dev-util/laminar/files/add-missing-includes.patch40
1 files changed, 40 insertions, 0 deletions
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 <ohw.giles@gmail.com>
+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 <string>
+ #include <unordered_map>
+
+ class StringMap : public std::unordered_map<std::string, std::string> {
+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 <capnp/message.h>
+ #include <capnp/capability.h>
+ #include <functional>
++#include <sys/types.h>
+
+ struct Laminar;
+ struct Http;
+--
+2.26.2
+