blob: b81f207aa3bf579099b8b98cb51a0ec66afd9e82 (
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
|
--- src/gengine/OptionAgent.cpp
+++ src/gengine/OptionAgent.cpp
@@ -23,7 +23,8 @@
#include "UnknownMsgException.h"
#include "minmax.h"
-#include <string.h> //strlen
+#include <cstring> //strlen
+#include <cstdlib>
#include <locale.h> //setlocale
#ifndef LC_MESSAGES
--- src/gengine/StringTool.cpp
+++ src/gengine/StringTool.cpp
@@ -9,6 +9,7 @@
#include "StringTool.h"
#include <sstream>
+#include <cstdlib>
//-----------------------------------------------------------------
/**
--- src/level/Landslip.cpp
+++ src/level/Landslip.cpp
@@ -10,6 +10,7 @@
#include "Rules.h"
#include "minmax.h"
+#include <cstring>
//-----------------------------------------------------------------
Landslip::Landslip(const ModelList &models)
|