summaryrefslogtreecommitdiff
path: root/games-sports/xmoto/files/gcc4.4.patch
blob: 4109ea606f27c2c61f8a1918348bd5c3b1db7b61 (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
Index: src/helpers/Log.cpp
===================================================================
--- src/helpers/Log.cpp	(revision 2798)
+++ src/helpers/Log.cpp	(working copy)
@@ -23,6 +23,7 @@
 #include "../VFileIO.h"
 #include "assert.h"
 #include <stdarg.h>
+#include <cstdio>
 
 bool  Logger::m_isInitialized = false;
 bool  Logger::m_activ         = true;
Index: src/helpers/Text.cpp
===================================================================
--- src/helpers/Text.cpp	(revision 2798)
+++ src/helpers/Text.cpp	(working copy)
@@ -19,6 +19,7 @@
 =============================================================================*/
 
 #include "Text.h"
+#include <cstdio>
 
 std::string txtToLower(const std::string& i_str) {
     std::string v_res;
Index: src/XMArgs.cpp
===================================================================
--- src/XMArgs.cpp	(revision 2798)
+++ src/XMArgs.cpp	(working copy)
@@ -24,6 +24,7 @@
 #include "VFileIO.h"
 #include <sstream>
 #include <stdlib.h>
+#include <cstdio>
 
 XMArguments::XMArguments() {
   m_opt_pack   	       = false;