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
|
diff -Naur tv-0.5.1/TreeLib/Parse.cpp tv-0.5.1.new/TreeLib/Parse.cpp
--- tv-0.5.1/TreeLib/Parse.cpp 2002-02-23 07:22:32.000000000 -0500
+++ tv-0.5.1.new/TreeLib/Parse.cpp 2008-06-16 06:32:30.000000000 -0400
@@ -20,7 +20,9 @@
*/
// $Id: treeviewx-0.5.1-gcc4.3.patch,v 1.1 2008/06/16 10:46:00 markusle Exp $
-
+
+
+#include <cstring>
#include <ctype.h>
#include "Parse.h"
diff -Naur tv-0.5.1/TreeLib/TreeLib.cpp tv-0.5.1.new/TreeLib/TreeLib.cpp
--- tv-0.5.1/TreeLib/TreeLib.cpp 2004-05-13 08:22:11.000000000 -0400
+++ tv-0.5.1.new/TreeLib/TreeLib.cpp 2008-06-16 06:32:30.000000000 -0400
@@ -24,6 +24,8 @@
#include "TreeLib.h"
#include "Parse.h"
+
+#include <cstdlib>
#include <vector>
diff -Naur tv-0.5.1/TreeLib/treereader.cpp tv-0.5.1.new/TreeLib/treereader.cpp
--- tv-0.5.1/TreeLib/treereader.cpp 2003-09-10 08:58:16.000000000 -0400
+++ tv-0.5.1.new/TreeLib/treereader.cpp 2008-06-16 06:32:30.000000000 -0400
@@ -21,6 +21,8 @@
// $Id: treeviewx-0.5.1-gcc4.3.patch,v 1.1 2008/06/16 10:46:00 markusle Exp $
+#include <cstring>
+#include <cstdlib>
#include "treereader.h"
#if __MWERKS__
diff -Naur tv-0.5.1/ncl-2.0/src/charactersblock.cpp tv-0.5.1.new/ncl-2.0/src/charactersblock.cpp
--- tv-0.5.1/ncl-2.0/src/charactersblock.cpp 2002-12-10 06:35:49.000000000 -0500
+++ tv-0.5.1.new/ncl-2.0/src/charactersblock.cpp 2008-06-16 06:32:30.000000000 -0400
@@ -1,3 +1,5 @@
+
+#include <cstring>
#include "nexusdefs.h"
#include "xnexus.h"
#include "nexustoken.h"
diff -Naur tv-0.5.1/ncl-2.0/src/nexus.cpp tv-0.5.1.new/ncl-2.0/src/nexus.cpp
--- tv-0.5.1/ncl-2.0/src/nexus.cpp 2002-12-10 06:35:50.000000000 -0500
+++ tv-0.5.1.new/ncl-2.0/src/nexus.cpp 2008-06-16 06:32:30.000000000 -0400
@@ -1,3 +1,5 @@
+
+#include <cstring>
#include "nexusdefs.h"
#include "xnexus.h"
#include "nexustoken.h"
diff -Naur tv-0.5.1/ncl-2.0/src/nexustoken.cpp tv-0.5.1.new/ncl-2.0/src/nexustoken.cpp
--- tv-0.5.1/ncl-2.0/src/nexustoken.cpp 2005-04-29 10:28:17.000000000 -0400
+++ tv-0.5.1.new/ncl-2.0/src/nexustoken.cpp 2008-06-16 06:32:30.000000000 -0400
@@ -1,3 +1,5 @@
+
+#include <cstring>
#include "nexusdefs.h"
#include "xnexus.h"
#include "nexustoken.h"
diff -Naur tv-0.5.1/ncl-2.0/src/nxsstring.cpp tv-0.5.1.new/ncl-2.0/src/nxsstring.cpp
--- tv-0.5.1/ncl-2.0/src/nxsstring.cpp 2001-02-02 07:55:40.000000000 -0500
+++ tv-0.5.1.new/ncl-2.0/src/nxsstring.cpp 2008-06-16 06:32:30.000000000 -0400
@@ -1,3 +1,6 @@
+
+#include <cstring>
+
#ifdef __BORLANDC__
// Undefine __MINMAX_DEFINED so that min and max are correctly defined
#ifdef __MINMAX_DEFINED
|