From Sid Byce, fixes for compiling with gcc 4.3

This commit is contained in:
Robert Osfield 2007-12-24 15:19:52 +00:00
parent 7f30f0038f
commit 93127866a8
10 changed files with 12 additions and 0 deletions

View File

@ -25,6 +25,7 @@
#include <osg/Texture2DArray> #include <osg/Texture2DArray>
#include <string.h> #include <string.h>
#include <stdlib.h>
#include "dxtctool.h" #include "dxtctool.h"

View File

@ -12,6 +12,7 @@
*/ */
#include <osg/Notify> #include <osg/Notify>
#include <string> #include <string>
#include <stdlib.h>
#include <iostream> #include <iostream>
#include <fstream> #include <fstream>

View File

@ -10,6 +10,7 @@
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* OpenSceneGraph Public License for more details. * OpenSceneGraph Public License for more details.
*/ */
#include <string.h>
#include <osgDB/Field> #include <osgDB/Field>
using namespace osgDB; using namespace osgDB;

View File

@ -11,6 +11,7 @@
* OpenSceneGraph Public License for more details. * OpenSceneGraph Public License for more details.
*/ */
#include <stdlib.h> #include <stdlib.h>
#include <string.h>
#include <limits.h> #include <limits.h>
#include <osgDB/FileNameUtils> #include <osgDB/FileNameUtils>

View File

@ -16,6 +16,7 @@
#endif #endif
#include <string> #include <string>
#include <memory>
#include <sstream> #include <sstream>
#include <algorithm> #include <algorithm>

View File

@ -30,6 +30,7 @@
#include <iostream> #include <iostream>
#include <sstream> #include <sstream>
#include <string.h>
#include <math.h> #include <math.h>

View File

@ -29,6 +29,8 @@
#include "directx.h" #include "directx.h"
#include <iostream> #include <iostream>
#include <string.h>
#include <stdlib.h>
#include <osg/Notify> #include <osg/Notify>

View File

@ -29,6 +29,8 @@
#include "types.h" #include "types.h"
#include <iostream> #include <iostream>
#include <string.h>
#include <stdlib.h>
using namespace std; using namespace std;

View File

@ -14,6 +14,7 @@
* OpenSceneGraph Public License for more details. * OpenSceneGraph Public License for more details.
*/ */
#include <stdlib.h>
#include "DefaultFont.h" #include "DefaultFont.h"
#include <osg/Notify> #include <osg/Notify>

View File

@ -12,6 +12,7 @@
*/ */
#include <stdlib.h> #include <stdlib.h>
#include <values.h>
#include <fstream> #include <fstream>
#include <osgViewer/Viewer> #include <osgViewer/Viewer>