diff --git a/applications/osgfilecache/osgfilecache.cpp b/applications/osgfilecache/osgfilecache.cpp index 1be395215..d71593498 100644 --- a/applications/osgfilecache/osgfilecache.cpp +++ b/applications/osgfilecache/osgfilecache.cpp @@ -29,6 +29,7 @@ #include #include +#include static bool s_ExitApplication = false; diff --git a/include/osgDB/FileUtils b/include/osgDB/FileUtils index 28c750ab4..2150cf492 100644 --- a/include/osgDB/FileUtils +++ b/include/osgDB/FileUtils @@ -19,6 +19,7 @@ #include #include #include +#include namespace osgDB { diff --git a/src/osgDB/ConvertUTF.cpp b/src/osgDB/ConvertUTF.cpp index 0930528ac..682cdb230 100644 --- a/src/osgDB/ConvertUTF.cpp +++ b/src/osgDB/ConvertUTF.cpp @@ -15,6 +15,7 @@ #include #include +#include #if defined(WIN32) && !defined(__CYGWIN__) #define WIN32_LEAN_AND_MEAN diff --git a/src/osgDB/DatabasePager.cpp b/src/osgDB/DatabasePager.cpp index 261e68ff7..1378d516b 100644 --- a/src/osgDB/DatabasePager.cpp +++ b/src/osgDB/DatabasePager.cpp @@ -30,6 +30,7 @@ #include #include +#include #include #ifdef WIN32 diff --git a/src/osgDB/FileUtils.cpp b/src/osgDB/FileUtils.cpp index 6b8399dec..a0c031565 100644 --- a/src/osgDB/FileUtils.cpp +++ b/src/osgDB/FileUtils.cpp @@ -52,6 +52,7 @@ #define stat64 stat #endif + #include #include #include #include diff --git a/src/osgDB/Registry.cpp b/src/osgDB/Registry.cpp index d34579a80..7af9434a4 100644 --- a/src/osgDB/Registry.cpp +++ b/src/osgDB/Registry.cpp @@ -34,6 +34,8 @@ #include #include +#include + #if defined(__sgi) #include #elif defined(__GNUC__) || !defined(WIN32) || defined(__MWERKS__) diff --git a/src/osgParticle/PrecipitationEffect.cpp b/src/osgParticle/PrecipitationEffect.cpp index 71ae54246..62467fc97 100644 --- a/src/osgParticle/PrecipitationEffect.cpp +++ b/src/osgParticle/PrecipitationEffect.cpp @@ -11,6 +11,8 @@ * OpenSceneGraph Public License for more details. */ +#include + #include diff --git a/src/osgPlugins/ac/ac3d.cpp b/src/osgPlugins/ac/ac3d.cpp index 985db6548..cf3b1dc85 100644 --- a/src/osgPlugins/ac/ac3d.cpp +++ b/src/osgPlugins/ac/ac3d.cpp @@ -6,6 +6,7 @@ #include #include +#include #include #include diff --git a/src/osgPlugins/bsp/VBSPEntity.cpp b/src/osgPlugins/bsp/VBSPEntity.cpp index 281459fe7..c106e262b 100644 --- a/src/osgPlugins/bsp/VBSPEntity.cpp +++ b/src/osgPlugins/bsp/VBSPEntity.cpp @@ -8,6 +8,7 @@ #include #include #include +#include #include diff --git a/src/osgPlugins/dw/ReaderWriterDW.cpp b/src/osgPlugins/dw/ReaderWriterDW.cpp index 4a1000aee..be4956014 100644 --- a/src/osgPlugins/dw/ReaderWriterDW.cpp +++ b/src/osgPlugins/dw/ReaderWriterDW.cpp @@ -1,4 +1,5 @@ #include +#include #include // reading a design workshop file utility // (c) GW Michel, 2001-2003. diff --git a/src/osgPlugins/ive/DataOutputStream.cpp b/src/osgPlugins/ive/DataOutputStream.cpp index bae1e50ec..e5047c4bc 100644 --- a/src/osgPlugins/ive/DataOutputStream.cpp +++ b/src/osgPlugins/ive/DataOutputStream.cpp @@ -114,6 +114,7 @@ #include #include +#include #include using namespace ive; diff --git a/src/osgPlugins/md2/ReaderWriterMD2.cpp b/src/osgPlugins/md2/ReaderWriterMD2.cpp index 7045a6883..a839ac18f 100644 --- a/src/osgPlugins/md2/ReaderWriterMD2.cpp +++ b/src/osgPlugins/md2/ReaderWriterMD2.cpp @@ -25,6 +25,7 @@ #include #include +#include #include #include diff --git a/src/osgPlugins/normals/ReaderWriterNormals.cpp b/src/osgPlugins/normals/ReaderWriterNormals.cpp index 4db1a3364..a67284c8f 100644 --- a/src/osgPlugins/normals/ReaderWriterNormals.cpp +++ b/src/osgPlugins/normals/ReaderWriterNormals.cpp @@ -1,6 +1,7 @@ #include #include #include +#include #include #include #include diff --git a/src/osgPlugins/obj/ReaderWriterOBJ.cpp b/src/osgPlugins/obj/ReaderWriterOBJ.cpp index 2858ad6c6..9809ac88b 100644 --- a/src/osgPlugins/obj/ReaderWriterOBJ.cpp +++ b/src/osgPlugins/obj/ReaderWriterOBJ.cpp @@ -20,6 +20,7 @@ #pragma warning( disable : 4786 ) #endif +#include #include #include diff --git a/src/osgPlugins/osg/Texture.cpp b/src/osgPlugins/osg/Texture.cpp index b4fe897d0..160565dae 100644 --- a/src/osgPlugins/osg/Texture.cpp +++ b/src/osgPlugins/osg/Texture.cpp @@ -6,6 +6,7 @@ #include #include +#include #include using namespace osg; diff --git a/src/osgPlugins/osgtgz/ReaderWriterOSGTGZ.cpp b/src/osgPlugins/osgtgz/ReaderWriterOSGTGZ.cpp index 795094662..d7515c8c6 100644 --- a/src/osgPlugins/osgtgz/ReaderWriterOSGTGZ.cpp +++ b/src/osgPlugins/osgtgz/ReaderWriterOSGTGZ.cpp @@ -2,6 +2,7 @@ #include #include #include +#include #include #include diff --git a/src/osgPlugins/pnm/ReaderWriterPNM.cpp b/src/osgPlugins/pnm/ReaderWriterPNM.cpp index 08a418132..6ac775689 100644 --- a/src/osgPlugins/pnm/ReaderWriterPNM.cpp +++ b/src/osgPlugins/pnm/ReaderWriterPNM.cpp @@ -11,6 +11,7 @@ #include #include +#include #include using namespace osg; diff --git a/src/osgPlugins/tgz/ReaderWriterTGZ.cpp b/src/osgPlugins/tgz/ReaderWriterTGZ.cpp index 78b5ec469..757163931 100644 --- a/src/osgPlugins/tgz/ReaderWriterTGZ.cpp +++ b/src/osgPlugins/tgz/ReaderWriterTGZ.cpp @@ -2,6 +2,7 @@ #include #include #include +#include #include #include diff --git a/src/osgPlugins/txp/ReaderWriterTXP.cpp b/src/osgPlugins/txp/ReaderWriterTXP.cpp index 46e7044c0..c26739708 100644 --- a/src/osgPlugins/txp/ReaderWriterTXP.cpp +++ b/src/osgPlugins/txp/ReaderWriterTXP.cpp @@ -10,6 +10,7 @@ #include #include +#include #include #include "ReaderWriterTXP.h" diff --git a/src/osgPlugins/zip/ReaderWriterZIP.cpp b/src/osgPlugins/zip/ReaderWriterZIP.cpp index 604e79175..3f2198095 100644 --- a/src/osgPlugins/zip/ReaderWriterZIP.cpp +++ b/src/osgPlugins/zip/ReaderWriterZIP.cpp @@ -2,6 +2,7 @@ #include #include #include +#include #include #include diff --git a/src/osgShadow/ConvexPolyhedron.cpp b/src/osgShadow/ConvexPolyhedron.cpp index 10a533d32..ecb77d4a0 100644 --- a/src/osgShadow/ConvexPolyhedron.cpp +++ b/src/osgShadow/ConvexPolyhedron.cpp @@ -23,6 +23,7 @@ #include #include +#include #include using namespace osgShadow; diff --git a/src/osgViewer/Viewer.cpp b/src/osgViewer/Viewer.cpp index 3eca6b51b..cf1904011 100644 --- a/src/osgViewer/Viewer.cpp +++ b/src/osgViewer/Viewer.cpp @@ -12,6 +12,7 @@ */ #include +#include #include #include diff --git a/src/osgWidget/Util.cpp b/src/osgWidget/Util.cpp index fec924256..033de00bd 100644 --- a/src/osgWidget/Util.cpp +++ b/src/osgWidget/Util.cpp @@ -1,5 +1,7 @@ // -*-c++-*- osgWidget - Code by: Jeremy Moles (cubicool) 2007-2008 +#include + #include #include