summaryrefslogtreecommitdiffstats
path: root/patches/pekwm-0.1.4/pekwm-0.1.4-missing-includes.diff
blob: fdccadffcc895a088e4ba84d915feba84d65ba75 (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
Subject: [patch] add missing includes
From: Robert Schwebel <r.schwebel@pengutronix.de>

Newer gccs (tested with 4.3.2) require more includes.

Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>

---
 src/CfgParser.hh             |    1 +
 src/CfgParserSource.cc       |    1 +
 src/ColorHandler.hh          |    1 +
 src/PImageNativeLoaderXpm.cc |    1 +
 src/RegexString.cc           |    1 +
 src/Util.cc                  |    1 +
 src/Util.hh                  |    1 +
 7 files changed, 7 insertions(+)

Index: pekwm-0.1.4/src/CfgParser.hh
===================================================================
--- pekwm-0.1.4.orig/src/CfgParser.hh
+++ pekwm-0.1.4/src/CfgParser.hh
@@ -31,6 +31,7 @@
 #include <string>
 #include <iostream>
 #include <cstdlib>
+#include <cstring>
 
 //! @brief Configuration file parser.
 class CfgParser {
Index: pekwm-0.1.4/src/CfgParserSource.cc
===================================================================
--- pekwm-0.1.4.orig/src/CfgParserSource.cc
+++ pekwm-0.1.4/src/CfgParserSource.cc
@@ -14,6 +14,7 @@
 #include "Util.hh"
 
 #include <iostream>
+#include <cstdlib>
 
 extern "C" {
 #include <unistd.h>
Index: pekwm-0.1.4/src/ColorHandler.hh
===================================================================
--- pekwm-0.1.4.orig/src/ColorHandler.hh
+++ pekwm-0.1.4/src/ColorHandler.hh
@@ -15,6 +15,7 @@
 
 #include <list>
 #include <string>
+#include <cstring>
 
 class ColorHandler {
 public:
Index: pekwm-0.1.4/src/PImageNativeLoaderXpm.cc
===================================================================
--- pekwm-0.1.4.orig/src/PImageNativeLoaderXpm.cc
+++ pekwm-0.1.4/src/PImageNativeLoaderXpm.cc
@@ -13,6 +13,7 @@
 #include "PImageNativeLoaderXpm.hh"
 
 #include <iostream>
+#include <cstring>
 
 using std::cerr;
 using std::endl;
Index: pekwm-0.1.4/src/RegexString.cc
===================================================================
--- pekwm-0.1.4.orig/src/RegexString.cc
+++ pekwm-0.1.4/src/RegexString.cc
@@ -11,6 +11,7 @@
 #include "RegexString.hh"
 
 #include <iostream>
+#include <cstdlib>
 
 using std::cerr;
 using std::endl;
Index: pekwm-0.1.4/src/Util.cc
===================================================================
--- pekwm-0.1.4.orig/src/Util.cc
+++ pekwm-0.1.4/src/Util.cc
@@ -14,6 +14,7 @@
 #include "Util.hh"
 #include <iostream>
 #include <sstream>
+#include <cstdlib>
 
 #include <unistd.h>
 #include <sys/stat.h>
Index: pekwm-0.1.4/src/Util.hh
===================================================================
--- pekwm-0.1.4.orig/src/Util.hh
+++ pekwm-0.1.4/src/Util.hh
@@ -17,6 +17,7 @@
 #include <vector>
 #include <functional>
 #include <sstream>
+#include <cstring>
 
 //! @brief Namespace Util used for various small file/string tasks.
 namespace Util {