blob: 546e3381b45655047de5af2aa8b896fa6fbc7841 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
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
|