From 93127866a8b0739a27694cc861a767bb68da62bc Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Mon, 24 Dec 2007 15:19:52 +0000 Subject: [PATCH] From Sid Byce, fixes for compiling with gcc 4.3 --- src/osg/Image.cpp | 1 + src/osg/Notify.cpp | 1 + src/osgDB/Field.cpp | 1 + src/osgDB/FileNameUtils.cpp | 1 + src/osgPlugins/lwo/ReaderWriterLWO.cpp | 1 + src/osgPlugins/x/directx.cpp | 1 + src/osgPlugins/x/mesh.cpp | 2 ++ src/osgPlugins/x/types.cpp | 2 ++ src/osgText/DefaultFont.cpp | 1 + src/osgViewer/ViewerEventHandlers.cpp | 1 + 10 files changed, 12 insertions(+) diff --git a/src/osg/Image.cpp b/src/osg/Image.cpp index 4c3931c95..d410345bc 100644 --- a/src/osg/Image.cpp +++ b/src/osg/Image.cpp @@ -25,6 +25,7 @@ #include #include +#include #include "dxtctool.h" diff --git a/src/osg/Notify.cpp b/src/osg/Notify.cpp index 52db99af4..75a37c452 100644 --- a/src/osg/Notify.cpp +++ b/src/osg/Notify.cpp @@ -12,6 +12,7 @@ */ #include #include +#include #include #include diff --git a/src/osgDB/Field.cpp b/src/osgDB/Field.cpp index fc11b9b3d..ae340de0f 100644 --- a/src/osgDB/Field.cpp +++ b/src/osgDB/Field.cpp @@ -10,6 +10,7 @@ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * OpenSceneGraph Public License for more details. */ +#include #include using namespace osgDB; diff --git a/src/osgDB/FileNameUtils.cpp b/src/osgDB/FileNameUtils.cpp index e60f3d155..879cf2c2c 100644 --- a/src/osgDB/FileNameUtils.cpp +++ b/src/osgDB/FileNameUtils.cpp @@ -11,6 +11,7 @@ * OpenSceneGraph Public License for more details. */ #include +#include #include #include diff --git a/src/osgPlugins/lwo/ReaderWriterLWO.cpp b/src/osgPlugins/lwo/ReaderWriterLWO.cpp index 96c181129..1e0a34fa9 100644 --- a/src/osgPlugins/lwo/ReaderWriterLWO.cpp +++ b/src/osgPlugins/lwo/ReaderWriterLWO.cpp @@ -16,6 +16,7 @@ #endif #include +#include #include #include diff --git a/src/osgPlugins/x/directx.cpp b/src/osgPlugins/x/directx.cpp index f29a8a8db..86bea59fa 100644 --- a/src/osgPlugins/x/directx.cpp +++ b/src/osgPlugins/x/directx.cpp @@ -30,6 +30,7 @@ #include #include +#include #include diff --git a/src/osgPlugins/x/mesh.cpp b/src/osgPlugins/x/mesh.cpp index f70cb8143..5923b5927 100644 --- a/src/osgPlugins/x/mesh.cpp +++ b/src/osgPlugins/x/mesh.cpp @@ -29,6 +29,8 @@ #include "directx.h" #include +#include +#include #include diff --git a/src/osgPlugins/x/types.cpp b/src/osgPlugins/x/types.cpp index 0065775da..dfd661725 100644 --- a/src/osgPlugins/x/types.cpp +++ b/src/osgPlugins/x/types.cpp @@ -29,6 +29,8 @@ #include "types.h" #include +#include +#include using namespace std; diff --git a/src/osgText/DefaultFont.cpp b/src/osgText/DefaultFont.cpp index 693ea3521..a6f531548 100644 --- a/src/osgText/DefaultFont.cpp +++ b/src/osgText/DefaultFont.cpp @@ -14,6 +14,7 @@ * OpenSceneGraph Public License for more details. */ +#include #include "DefaultFont.h" #include diff --git a/src/osgViewer/ViewerEventHandlers.cpp b/src/osgViewer/ViewerEventHandlers.cpp index 057b5399e..261268ca5 100644 --- a/src/osgViewer/ViewerEventHandlers.cpp +++ b/src/osgViewer/ViewerEventHandlers.cpp @@ -12,6 +12,7 @@ */ #include +#include #include #include