summaryrefslogtreecommitdiff
blob: df6404c246c0d80e9d9d2bbaf5d42bf17b0c4611 (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
diff -ur panda3d-1.5.2.orig/dtool/src/dtoolbase/typeRegistryNode.cxx panda3d-1.5.2/dtool/src/dtoolbase/typeRegistryNode.cxx
--- panda3d-1.5.2.orig/dtool/src/dtoolbase/typeRegistryNode.cxx	2008-08-30 15:53:58.000000000 +0200
+++ panda3d-1.5.2/dtool/src/dtoolbase/typeRegistryNode.cxx	2008-08-30 15:56:36.000000000 +0200
@@ -19,6 +19,7 @@
 #include "typeRegistryNode.h"
 
 #include <algorithm>
+#include <string.h>
 
 bool TypeRegistryNode::_paranoid_inheritance = false;
 
diff -ur panda3d-1.5.2.orig/dtool/src/dtoolutil/filename.I panda3d-1.5.2/dtool/src/dtoolutil/filename.I
--- panda3d-1.5.2.orig/dtool/src/dtoolutil/filename.I	2008-08-30 16:01:48.000000000 +0200
+++ panda3d-1.5.2/dtool/src/dtoolutil/filename.I	2008-08-30 16:03:50.000000000 +0200
@@ -16,6 +16,8 @@
 //
 ////////////////////////////////////////////////////////////////////
 
+#include <string.h>
+
 ////////////////////////////////////////////////////////////////////
 //     Function: Filename::Constructor
 //       Access: Published
diff -ur panda3d-1.5.2.orig/dtool/src/cppparser/cppExpression.cxx panda3d-1.5.2/dtool/src/cppparser/cppExpression.cxx
--- panda3d-1.5.2.orig/dtool/src/cppparser/cppExpression.cxx	2008-08-30 16:06:51.000000000 +0200
+++ panda3d-1.5.2/dtool/src/cppparser/cppExpression.cxx	2008-08-30 16:08:14.000000000 +0200
@@ -32,6 +32,7 @@
 #include "cppBison.h"
 
 #include <assert.h>
+#include <stdlib.h>
 
 ////////////////////////////////////////////////////////////////////
 //     Function: CPPExpresion::Result::Constructor
diff -ur panda3d-1.5.2.orig/dtool/src/cppparser/cppPreprocessor.cxx panda3d-1.5.2/dtool/src/cppparser/cppPreprocessor.cxx
--- panda3d-1.5.2.orig/dtool/src/cppparser/cppPreprocessor.cxx	2008-08-30 16:06:51.000000000 +0200
+++ panda3d-1.5.2/dtool/src/cppparser/cppPreprocessor.cxx	2008-08-30 16:07:36.000000000 +0200
@@ -32,6 +32,7 @@
 
 #include <assert.h>
 #include <ctype.h>
+#include <stdlib.h>
 
 // We manage our own visibility counter, in addition to that managed
 // by cppBison.y.  We do this just so we can define manifests with the
diff -ur panda3d-1.5.2.orig/dtool/src/prc/configDeclaration.cxx panda3d-1.5.2/dtool/src/prc/configDeclaration.cxx
--- panda3d-1.5.2.orig/dtool/src/prc/configDeclaration.cxx	2008-08-30 16:12:41.000000000 +0200
+++ panda3d-1.5.2/dtool/src/prc/configDeclaration.cxx	2008-08-30 16:13:07.000000000 +0200
@@ -19,6 +19,7 @@
 #include "configDeclaration.h"
 #include "configVariableCore.h"
 
+#include <stdlib.h>
 
 ////////////////////////////////////////////////////////////////////
 //     Function: ConfigDeclaration::Constructor
diff -ur panda3d-1.5.2.orig/dtool/src/interrogate/interrogate_module.cxx panda3d-1.5.2/dtool/src/interrogate/interrogate_module.cxx
--- panda3d-1.5.2.orig/dtool/src/interrogate/interrogate_module.cxx	2008-08-30 16:15:50.000000000 +0200
+++ panda3d-1.5.2/dtool/src/interrogate/interrogate_module.cxx	2008-08-30 16:16:20.000000000 +0200
@@ -29,6 +29,8 @@
 
 #include "set"
 
+#include <stdlib.h>
+
 // If our system getopt() doesn't come with getopt_long_only(), then use
 // the GNU flavor that we've got in tool for this purpose.
 #ifndef HAVE_GETOPT_LONG_ONLY
diff -ur panda3d-1.5.2.orig/panda/src/nativenet/socket_address.h panda3d-1.5.2/panda/src/nativenet/socket_address.h
--- panda3d-1.5.2.orig/panda/src/nativenet/socket_address.h	2008-08-30 16:27:03.000000000 +0200
+++ panda3d-1.5.2/panda/src/nativenet/socket_address.h	2008-08-30 16:28:49.000000000 +0200
@@ -5,6 +5,8 @@
 #include "numeric_types.h"
 #include "socket_portable.h"
 
+#include <stdlib.h>
+
 ///////////////////////////////////
 // Class : Socket_Address
 //
diff -ur panda3d-1.5.2.orig/panda/src/pnmimagetypes/pnmFileTypePNM.cxx panda3d-1.5.2/panda/src/pnmimagetypes/pnmFileTypePNM.cxx
--- panda3d-1.5.2.orig/panda/src/pnmimagetypes/pnmFileTypePNM.cxx	2008-08-30 16:56:33.000000000 +0200
+++ panda3d-1.5.2/panda/src/pnmimagetypes/pnmFileTypePNM.cxx	2008-08-30 16:57:53.000000000 +0200
@@ -22,6 +22,8 @@
 #include "pnmFileTypeRegistry.h"
 #include "bamReader.h"
 
+#include <limits.h>
+
 static const char * const extensions_PNM[] = {
   "pbm", "pgm", "ppm", "pnm"
 };