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
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
|
--- src/spamprobe/Command_exec.cc
+++ src/spamprobe/Command_exec.cc
@@ -28,6 +28,7 @@
// http://www.cooldevtools.com/qpl.html
//
+#include <cstdlib>
#include "SpamFilter.h"
#include "CommandConfig.h"
#include "ConfigManager.h"
--- src/spamprobe/Command_edit_term.cc
+++ src/spamprobe/Command_edit_term.cc
@@ -28,6 +28,7 @@
// http://www.cooldevtools.com/qpl.html
//
+#include <cstdlib>
#include "SpamFilter.h"
#include "FrequencyDB.h"
#include "CommandConfig.h"
--- src/spamprobe/Command_cleanup.cc
+++ src/spamprobe/Command_cleanup.cc
@@ -28,6 +28,7 @@
// http://www.cooldevtools.com/qpl.html
//
+#include <cstdlib>
#include "CleanupManager.h"
#include "SpamFilter.h"
#include "FrequencyDB.h"
--- src/spamprobe/spamprobe.cc
+++ src/spamprobe/spamprobe.cc
@@ -28,6 +28,7 @@
// http://www.cooldevtools.com/qpl.html
//
+#include <cstdlib>
#include <unistd.h>
#include <locale.h>
#include <signal.h>
--- src/spamprobe/Command_purge.cc
+++ src/spamprobe/Command_purge.cc
@@ -28,6 +28,7 @@
// http://www.cooldevtools.com/qpl.html
//
+#include <cstdlib>
#include "CleanupManager.h"
#include "SpamFilter.h"
#include "FrequencyDB.h"
--- src/spamprobe/Command_import.cc
+++ src/spamprobe/Command_import.cc
@@ -28,6 +28,7 @@
// http://www.cooldevtools.com/qpl.html
//
+#include <cstdlib>
#include <fstream>
#include "LineReader.h"
#include "IstreamCharReader.h"
--- src/database/DatabaseConfig.cc
+++ src/database/DatabaseConfig.cc
@@ -29,6 +29,7 @@
//
#include <stdexcept>
+#include <cstdlib>
#include "File.h"
#include "WordData.h"
#include "FrequencyDBImpl.h"
--- src/parser/MailMessageReader.cc
+++ src/parser/MailMessageReader.cc
@@ -28,6 +28,7 @@
// http://www.cooldevtools.com/qpl.html
//
+#include <cstdlib>
#include "RegularExpression.h"
#include "MailMessage.h"
#include "MailMessageList.h"
--- src/parser/MbxMailMessageReader.cc
+++ src/parser/MbxMailMessageReader.cc
@@ -28,6 +28,7 @@
// http://www.cooldevtools.com/qpl.html
//
+#include <cstdlib>
#include <stdexcept>
#include "MailMessage.h"
#include "MailMessageList.h"
--- src/parser/AutoTrainMailMessageReader.cc
+++ src/parser/AutoTrainMailMessageReader.cc
@@ -28,6 +28,7 @@
// http://www.cooldevtools.com/qpl.html
//
+#include <cstdlib>
#include "MailMessage.h"
#include "AutoTrainMailMessageReader.h"
--- src/parser/HtmlTokenizer.cc
+++ src/parser/HtmlTokenizer.cc
@@ -28,6 +28,7 @@
// http://www.cooldevtools.com/qpl.html
//
+#include <cstdlib>
#include "AbstractTokenReceiver.h"
#include "StringReader.h"
#include "RegularExpression.h"
--- src/hdl/HdlTokenizer.cc
+++ src/hdl/HdlTokenizer.cc
@@ -28,6 +28,7 @@
// http://www.cooldevtools.com/qpl.html
//
+#include <cstdlib>
#include "AbstractCharReader.h"
#include "HdlError.h"
#include "HdlToken.h"
--- src/includes/util.h
+++ src/includes/util.h
@@ -42,6 +42,7 @@
#include <cassert>
#include <iostream>
#include <cstdio>
+#include <cstring>
#include "Ptr.h"
#include "Ref.h"
--- src/includes/MultiLineSubString.h
+++ src/includes/MultiLineSubString.h
@@ -31,6 +31,7 @@
#ifndef _MultiLineSubString_h
#define _MultiLineSubString_h
+#include <climits>
#include "AbstractMultiLineString.h"
class MultiLineSubString : public AbstractMultiLineString
--- src/includes/Buffer.h
+++ src/includes/Buffer.h
@@ -32,6 +32,7 @@
#define _Buffer_h
#include "Array.h"
+#include <cassert>
//
// Similar to Array but handles variable length.
|