summaryrefslogtreecommitdiff
path: root/games-strategy/colobot/files/colobot-0.1.12-includes.patch
blob: 3bd118a1ef1d0ece4cdeaf580265d365b56635ef (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
41
42
43
44
45
From 2cfab017938e1cf44f633647eec2ccc2ed1da38b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@gentoo.org>
Date: Thu, 14 May 2020 10:35:01 +0200
Subject: [PATCH] Fix missing <limits> include

Add missing <limits> include for std::numeric_limits.  This fixes
build failure after boost stopped implicitly including it for us.
---
 src/script/script.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/script/script.h b/src/script/script.h
index bc64dc232..dd4e02ff4 100644
--- a/src/script/script.h
+++ b/src/script/script.h
@@ -27,6 +27,7 @@
 #include "CBot/CBot.h"
 
 #include <memory>
+#include <limits>
 #include <string>
 #include <boost/optional.hpp>
 
From fc2bd68876ac6302dbc8e91e8ffa33592db14b21 Mon Sep 17 00:00:00 2001
From: suve <veg@svgames.pl>
Date: Sun, 9 Feb 2020 00:36:05 +0100
Subject: [PATCH] Fix missing std includes

---
 src/CBot/CBotInstr/CBotExprLitString.cpp | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/CBot/CBotInstr/CBotExprLitString.cpp b/src/CBot/CBotInstr/CBotExprLitString.cpp
index fc2541624..69e42d607 100644
--- a/src/CBot/CBotInstr/CBotExprLitString.cpp
+++ b/src/CBot/CBotInstr/CBotExprLitString.cpp
@@ -24,6 +24,8 @@
 
 #include "CBot/CBotVar/CBotVar.h"
 
+#include <stdexcept>
+
 namespace CBot
 {