summarylogtreecommitdiffstats
path: root/gcc4.3.patch
blob: 62accb23b11194a83610f34a310528d03d2c514d (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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
--- a/src/basefont.cpp	2006-04-25 00:38:27.000000000 +0800
+++ b/src/basefont.cpp	2009-10-08 12:10:35.000000000 +0800
@@ -28,6 +28,7 @@
 #include "debug.h"
 #include "hzdecoder.h"
 #include "basefont.h"
+#include <cstring>
 
 BaseFont::BaseFont(string & fn, int w, int h)
 :mFd(0)
--- a/src/display/fblinear4.cpp	2006-04-25 00:38:23.000000000 +0800
+++ b/src/display/fblinear4.cpp	2009-10-08 12:10:35.000000000 +0800
@@ -21,6 +21,7 @@
 #include <endian.h>
 #include "global.h"
 #include "fblinear4.h"
+#include <cstring>
 
 __u16 FBLinear4::nibbletab_cfb4[] = {
 #if BYTE_ORDER == LITTLE_ENDIAN
--- a/src/display/fblinear8.cpp	2006-04-25 00:38:23.000000000 +0800
+++ b/src/display/fblinear8.cpp	2009-10-08 12:10:35.000000000 +0800
@@ -21,6 +21,7 @@
 #include <endian.h>
 #include "global.h"
 #include "fblinear8.h"
+#include <cstring>
 
 __u32 FBLinear8::nibbletab_cfb8[] = {
 #if BYTE_ORDER == LITTLE_ENDIAN
--- a/src/display/fbvgaplanes.cpp	2006-04-25 00:38:23.000000000 +0800
+++ b/src/display/fbvgaplanes.cpp	2009-10-08 12:10:35.000000000 +0800
@@ -24,6 +24,7 @@
 #include <unistd.h>
 #include "debug.h"
 #include "fbvgaplanes.h"
+#include <cstring>
 
 #if defined(linux)
     #include <sys/io.h>
--- a/src/display/vgadev.cpp	2006-05-13 19:01:22.000000000 +0800
+++ b/src/display/vgadev.cpp	2009-10-08 12:10:35.000000000 +0800
@@ -36,6 +36,7 @@
 #include "debug.h"
 #include "vgadev.h"
 #include "lrmi.h"
+#include <cstring>
 
 #define GRAPH_BASE 0xA0000
 #define GRAPH_ADDR  0x3ce
--- a/src/graphdev.cpp	2006-04-25 00:38:26.000000000 +0800
+++ b/src/graphdev.cpp	2009-10-08 12:10:35.000000000 +0800
@@ -26,6 +26,8 @@
 #include <sys/mman.h>
 #include <assert.h>
 #include <iostream>
+#include <cstdlib>
+#include <cstring>
 #include "debug.h"
 
 #include "display/fbdev.h"
--- a/src/inputclient.cpp	2006-04-25 00:38:27.000000000 +0800
+++ b/src/inputclient.cpp	2009-10-08 12:10:35.000000000 +0800
@@ -16,6 +16,7 @@
  *                                                                         *
  ***************************************************************************/
 
+#include <cstdlib>
 #include "inputclient.h"
 
 Console* InputClient::mpCon = NULL;
--- a/src/inputmanager.cpp	2006-05-03 01:18:39.000000000 +0800
+++ b/src/inputmanager.cpp	2009-10-08 12:10:35.000000000 +0800
@@ -24,6 +24,7 @@ using namespace std;
 #include <unistd.h>
 #include <sys/time.h>
 #include <string>
+#include <cstdlib>
 
 #include "global.h"
 #include "debug.h"
--- a/src/inputmanager.h	2006-04-25 00:38:26.000000000 +0800
+++ b/src/inputmanager.h	2009-10-08 12:10:35.000000000 +0800
@@ -26,6 +26,7 @@
 using namespace std;
 #include <cassert>
 #include <vector>
+#include <sys/types.h>
 
 #include "mouse.h"
 #if defined(__FreeBSD__)
--- a/src/window.cpp	2006-04-25 00:38:25.000000000 +0800
+++ b/src/window.cpp	2009-10-08 12:10:35.000000000 +0800
@@ -23,6 +23,7 @@
 #include "global.h"
 #include "debug.h"
 #include "window.h"
+#include <cstring>
 
 //static members for all the windows
 Window* Window::mpConsole = NULL;
--- a/src/zhcon.cpp	2006-05-15 04:12:01.000000000 +0800
+++ b/src/zhcon.cpp	2009-10-08 12:10:35.000000000 +0800
@@ -22,6 +22,7 @@
 #include <iostream>
 #include <unistd.h>
 #include <cstdlib>
+#include <cstring>
 #include <cstdio>
 #include <sys/ioctl.h>