38 lines
1.0 KiB
Diff
38 lines
1.0 KiB
Diff
|
Index: src/gengine/OptionAgent.cpp
|
||
|
===================================================================
|
||
|
--- src/gengine/OptionAgent.cpp.orig
|
||
|
+++ src/gengine/OptionAgent.cpp
|
||
|
@@ -25,6 +25,7 @@
|
||
|
|
||
|
#include <string.h> //strlen
|
||
|
#include <locale.h> //setlocale
|
||
|
+#include <cstdlib> //getenv
|
||
|
|
||
|
#ifndef LC_MESSAGES
|
||
|
#define LC_MESSAGES LC_CTYPE
|
||
|
Index: src/gengine/StringTool.cpp
|
||
|
===================================================================
|
||
|
--- src/gengine/StringTool.cpp.orig
|
||
|
+++ src/gengine/StringTool.cpp
|
||
|
@@ -7,7 +7,7 @@
|
||
|
* (at your option) any later version.
|
||
|
*/
|
||
|
#include "StringTool.h"
|
||
|
-
|
||
|
+#include <stdlib.h>
|
||
|
#include <sstream>
|
||
|
|
||
|
//-----------------------------------------------------------------
|
||
|
Index: src/level/Landslip.cpp
|
||
|
===================================================================
|
||
|
--- src/level/Landslip.cpp.orig
|
||
|
+++ src/level/Landslip.cpp
|
||
|
@@ -6,6 +6,7 @@
|
||
|
* the Free Software Foundation; either version 2 of the License, or
|
||
|
* (at your option) any later version.
|
||
|
*/
|
||
|
+#include <string.h>
|
||
|
#include "Landslip.h"
|
||
|
|
||
|
#include "Rules.h"
|