diff -ru OSG_OP_OT-0.9.9/OpenSceneGraph/include/osg/Shader OSG_PATCH/OSG_OP_OT-0.9.9/OpenSceneGraph/include/osg/Shader --- OSG_OP_OT-0.9.9/OpenSceneGraph/include/osg/Shader 2005-05-12 13:59:53.000000000 -0700 +++ OSG_PATCH/OSG_OP_OT-0.9.9/OpenSceneGraph/include/osg/Shader 2005-09-30 10:19:13.000000000 -0700 @@ -37,6 +37,9 @@ * configuration. */ +// Forward declaration to fix gcc4.0.1 build -osb, Delta3D. +class Program; + class OSG_EXPORT Shader : public osg::Object { public: diff -ru OSG_OP_OT-0.9.9/Producer/include/Producer/Keyboard OSG_PATCH/OSG_OP_OT-0.9.9/Producer/include/Producer/Keyboard --- OSG_OP_OT-0.9.9/Producer/include/Producer/Keyboard 2005-05-04 08:45:36.000000000 -0700 +++ OSG_PATCH/OSG_OP_OT-0.9.9/Producer/include/Producer/Keyboard 2005-09-30 10:27:44.000000000 -0700 @@ -538,8 +538,7 @@ unsigned long _keyModifier; KeyboardKey _key; }; - - + class PR_EXPORT Keyboard : public Producer::Referenced { public: diff -ru OSG_OP_OT-0.9.9/Producer/include/Producer/KeyboardMouse OSG_PATCH/OSG_OP_OT-0.9.9/Producer/include/Producer/KeyboardMouse --- OSG_OP_OT-0.9.9/Producer/include/Producer/KeyboardMouse 2005-05-03 12:53:06.000000000 -0700 +++ OSG_PATCH/OSG_OP_OT-0.9.9/Producer/include/Producer/KeyboardMouse 2005-09-30 10:27:37.000000000 -0700 @@ -28,6 +28,9 @@ namespace Producer { +// Forward declaration to fix gcc4.0.1 compile -osb, Delta3D. +class KeyboardMouseImplementation; + class PR_EXPORT KeyboardMouseCallback : public Referenced { public :