summaryrefslogtreecommitdiff
path: root/dev-util/laminar/files
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2020-05-31 09:51:53 +0200
committerKarel Kočí <cynerd@email.cz>2020-05-31 09:51:53 +0200
commitf0a24546e621c5c609783335b1d2b39fb71d4d91 (patch)
tree5eeb358899300d0be60567eaeea4ccac300d70a7 /dev-util/laminar/files
parentd4e701dcb7ca1fa7f91380e23a9483c923a4904e (diff)
downloadgentoo-personal-overlay-f0a24546e621c5c609783335b1d2b39fb71d4d91.tar.gz
gentoo-personal-overlay-f0a24546e621c5c609783335b1d2b39fb71d4d91.tar.bz2
gentoo-personal-overlay-f0a24546e621c5c609783335b1d2b39fb71d4d91.zip
dev-util/laminar: revert and patch imclude
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
+