From Andy Skinner, fixes for Solaris build

This commit is contained in:
Robert Osfield 2009-01-09 12:17:40 +00:00
parent c380ac5a1f
commit fa499dc55f
23 changed files with 26 additions and 0 deletions

View File

@ -29,6 +29,7 @@
#include <algorithm> #include <algorithm>
#include <signal.h> #include <signal.h>
#include <stdlib.h>
static bool s_ExitApplication = false; static bool s_ExitApplication = false;

View File

@ -19,6 +19,7 @@
#include <vector> #include <vector>
#include <deque> #include <deque>
#include <string> #include <string>
#include <stdio.h>
namespace osgDB { namespace osgDB {

View File

@ -15,6 +15,7 @@
#include <osg/Notify> #include <osg/Notify>
#include <string.h> #include <string.h>
#include <wchar.h>
#if defined(WIN32) && !defined(__CYGWIN__) #if defined(WIN32) && !defined(__CYGWIN__)
#define WIN32_LEAN_AND_MEAN #define WIN32_LEAN_AND_MEAN

View File

@ -30,6 +30,7 @@
#include <functional> #include <functional>
#include <set> #include <set>
#include <stdlib.h>
#include <string.h> #include <string.h>
#ifdef WIN32 #ifdef WIN32

View File

@ -52,6 +52,7 @@
#define stat64 stat #define stat64 stat
#endif #endif
#include <stdlib.h>
#include <unistd.h> #include <unistd.h>
#include <sys/types.h> #include <sys/types.h>
#include <sys/stat.h> #include <sys/stat.h>

View File

@ -34,6 +34,8 @@
#include <algorithm> #include <algorithm>
#include <set> #include <set>
#include <stdlib.h>
#if defined(__sgi) #if defined(__sgi)
#include <ctype.h> #include <ctype.h>
#elif defined(__GNUC__) || !defined(WIN32) || defined(__MWERKS__) #elif defined(__GNUC__) || !defined(WIN32) || defined(__MWERKS__)

View File

@ -11,6 +11,8 @@
* OpenSceneGraph Public License for more details. * OpenSceneGraph Public License for more details.
*/ */
#include <stdlib.h>
#include<OpenThreads/ScopedLock> #include<OpenThreads/ScopedLock>

View File

@ -6,6 +6,7 @@
#include <vector> #include <vector>
#include <iostream> #include <iostream>
#include <stdlib.h>
#include <osg/GL> #include <osg/GL>
#include <osg/GLU> #include <osg/GLU>

View File

@ -8,6 +8,7 @@
#include <osgDB/FileNameUtils> #include <osgDB/FileNameUtils>
#include <iostream> #include <iostream>
#include <sstream> #include <sstream>
#include <stdlib.h>
#include <string.h> #include <string.h>

View File

@ -1,4 +1,5 @@
#include <stdio.h> #include <stdio.h>
#include <stdlib.h>
#include <string.h> #include <string.h>
// reading a design workshop file utility // reading a design workshop file utility
// (c) GW Michel, 2001-2003. // (c) GW Michel, 2001-2003.

View File

@ -114,6 +114,7 @@
#include <osgDB/FileUtils> #include <osgDB/FileUtils>
#include <osgDB/fstream> #include <osgDB/fstream>
#include <stdlib.h>
#include <sstream> #include <sstream>
using namespace ive; using namespace ive;

View File

@ -25,6 +25,7 @@
#include <osgDB/FileNameUtils> #include <osgDB/FileNameUtils>
#include <osgDB/FileUtils> #include <osgDB/FileUtils>
#include <stdlib.h>
#include <string.h> #include <string.h>
#include <fcntl.h> #include <fcntl.h>

View File

@ -1,6 +1,7 @@
#include <iostream> #include <iostream>
#include <sstream> #include <sstream>
#include <math.h> #include <math.h>
#include <stdlib.h>
#include <osg/Notify> #include <osg/Notify>
#include <osg/Group> #include <osg/Group>
#include <osgDB/ReadFile> #include <osgDB/ReadFile>

View File

@ -20,6 +20,7 @@
#pragma warning( disable : 4786 ) #pragma warning( disable : 4786 )
#endif #endif
#include <stdlib.h>
#include <string> #include <string>
#include <osg/Notify> #include <osg/Notify>

View File

@ -6,6 +6,7 @@
#include <osgDB/Input> #include <osgDB/Input>
#include <osgDB/Output> #include <osgDB/Output>
#include <stdlib.h>
#include <string.h> #include <string.h>
using namespace osg; using namespace osg;

View File

@ -2,6 +2,7 @@
#include <sys/types.h> #include <sys/types.h>
#include <fcntl.h> #include <fcntl.h>
#include <stdio.h> #include <stdio.h>
#include <stdlib.h>
#include <string.h> #include <string.h>
#include <osg/Geode> #include <osg/Geode>

View File

@ -11,6 +11,7 @@
#include <osgDB/fstream> #include <osgDB/fstream>
#include <stdio.h> #include <stdio.h>
#include <stdlib.h>
#include <string.h> #include <string.h>
using namespace osg; using namespace osg;

View File

@ -2,6 +2,7 @@
#include <sys/types.h> #include <sys/types.h>
#include <fcntl.h> #include <fcntl.h>
#include <stdio.h> #include <stdio.h>
#include <stdlib.h>
#include <string.h> #include <string.h>
#include <osg/Geode> #include <osg/Geode>

View File

@ -10,6 +10,7 @@
#include <iostream> #include <iostream>
#include <sstream> #include <sstream>
#include <stdlib.h>
#include <string.h> #include <string.h>
#include "ReaderWriterTXP.h" #include "ReaderWriterTXP.h"

View File

@ -2,6 +2,7 @@
#include <sys/types.h> #include <sys/types.h>
#include <fcntl.h> #include <fcntl.h>
#include <stdio.h> #include <stdio.h>
#include <stdlib.h>
#include <string.h> #include <string.h>
#include <osg/Geode> #include <osg/Geode>

View File

@ -23,6 +23,7 @@
#include<deque> #include<deque>
#include<algorithm> #include<algorithm>
#include <stdio.h>
#include <string.h> #include <string.h>
using namespace osgShadow; using namespace osgShadow;

View File

@ -12,6 +12,7 @@
*/ */
#include <stdio.h> #include <stdio.h>
#include <stdlib.h>
#include <osg/DeleteHandler> #include <osg/DeleteHandler>
#include <osg/io_utils> #include <osg/io_utils>

View File

@ -1,5 +1,7 @@
// -*-c++-*- osgWidget - Code by: Jeremy Moles (cubicool) 2007-2008 // -*-c++-*- osgWidget - Code by: Jeremy Moles (cubicool) 2007-2008
#include <stdlib.h>
#include <osg/io_utils> #include <osg/io_utils>
#include <osgGA/TrackballManipulator> #include <osgGA/TrackballManipulator>