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 +#include 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 + //////////////////////////////////////////////////////////////////// // 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 +#include //////////////////////////////////////////////////////////////////// // 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 #include +#include // 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 //////////////////////////////////////////////////////////////////// // 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 + // 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 + /////////////////////////////////// // 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 + static const char * const extensions_PNM[] = { "pbm", "pgm", "ppm", "pnm" };