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
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
|
--- pekwm-0.1.6.orig/src/CfgParser.cc 2007-05-08 10:10:13.000000000 +0200
+++ pekwm-0.1.6/src/CfgParser.cc 2008-04-22 22:41:21.000000000 +0200
@@ -11,10 +11,11 @@
#include "Util.hh"
#include <iostream>
#include <memory>
#include <cassert>
+#include <cstring>
#ifdef HAVE_GETTEXT
#include <libintl.h>
#define _(S) gettext(S)
#else // !HAVE_GETTEXT
--- pekwm-0.1.6.orig/src/CfgParser.hh 2007-05-08 10:10:13.000000000 +0200
+++ pekwm-0.1.6/src/CfgParser.hh 2008-04-22 22:41:21.000000000 +0200
@@ -30,10 +30,11 @@
#include <list>
#include <map>
#include <set>
#include <string>
+#include <cstring>
#include <iostream>
#include <cstdlib>
//! @brief Configuration file parser.
class CfgParser {
--- pekwm-0.1.6.orig/src/CfgParserSource.cc 2007-05-08 10:10:13.000000000 +0200
+++ pekwm-0.1.6/src/CfgParserSource.cc 2008-04-22 22:41:21.000000000 +0200
@@ -11,10 +11,11 @@
//
#include "CfgParserSource.hh"
#include "Util.hh"
+#include <cstdlib>
#include <iostream>
extern "C" {
#include <unistd.h>
}
--- pekwm-0.1.6.orig/src/ColorHandler.cc 2007-05-08 10:10:13.000000000 +0200
+++ pekwm-0.1.6/src/ColorHandler.cc 2008-04-22 22:41:21.000000000 +0200
@@ -5,10 +5,11 @@
// See the LICENSE file for more information.
//
#include "ColorHandler.hh"
#include "PScreen.hh"
+#include <cstring>
#ifdef DEBUG
#include <iostream>
using std::cerr;
using std::endl;
--- pekwm-0.1.6.orig/src/ColorHandler.hh 2007-05-08 10:10:13.000000000 +0200
+++ pekwm-0.1.6/src/ColorHandler.hh 2008-04-22 22:41:21.000000000 +0200
@@ -13,10 +13,11 @@
#include "pekwm.hh"
#include <list>
#include <string>
+#include <cstring>
class ColorHandler {
public:
class Entry {
public:
--- pekwm-0.1.6.orig/src/PImageNativeLoaderXpm.cc 2007-05-08 10:10:13.000000000 +0200
+++ pekwm-0.1.6/src/PImageNativeLoaderXpm.cc 2008-04-22 22:41:21.000000000 +0200
@@ -11,10 +11,11 @@
#ifdef HAVE_IMAGE_XPM
#include "PImageNativeLoaderXpm.hh"
#include <iostream>
+#include <cstring>
using std::cerr;
using std::endl;
using std::string;
--- pekwm-0.1.6.orig/src/RegexString.cc 2007-05-08 10:10:13.000000000 +0200
+++ pekwm-0.1.6/src/RegexString.cc 2008-04-22 22:41:21.000000000 +0200
@@ -9,11 +9,11 @@
//
#include "../config.h"
#include "RegexString.hh"
-
+#include <cstdlib>
#include <iostream>
#ifdef HAVE_GETTEXT
#include <libintl.h>
#define _(S) gettext(S)
--- pekwm-0.1.6.orig/src/Util.cc 2007-05-08 10:10:13.000000000 +0200
+++ pekwm-0.1.6/src/Util.cc 2008-04-22 22:42:12.000000000 +0200
@@ -11,10 +11,11 @@
//
#include "../config.h"
#include "Util.hh"
+#include <cstdlib>
#include <algorithm>
#include <iostream>
#include <sstream>
#include <unistd.h>
--- pekwm-0.1.6.orig/src/Util.hh 2007-05-08 10:10:13.000000000 +0200
+++ pekwm-0.1.6/src/Util.hh 2008-04-22 22:41:21.000000000 +0200
@@ -12,10 +12,11 @@
#define _UTIL_HH_
#include "Types.hh"
#include <string>
+#include <cstring>
#include <vector>
#include <functional>
#include <sstream>
//! @brief Namespace Util used for various small file/string tasks.
|