From Andy Skinner, adding C includes to avoid issues when mixing C and C++ standard includes

This commit is contained in:
Robert Osfield
2007-07-28 10:44:03 +00:00
parent 6dec61842d
commit 59d3e0ceb7
12 changed files with 21 additions and 0 deletions

View File

@@ -11,6 +11,9 @@
* OpenSceneGraph Public License for more details.
*/
#include <stdlib.h>
#include <string.h>
#include <osg/ApplicationUsage>
#include <osg/Math>
#include <osg/ref_ptr>

View File

@@ -11,6 +11,9 @@
* OpenSceneGraph Public License for more details.
*/
#include <stdlib.h>
#include <string.h>
#include <osg/ArgumentParser>
#include <osg/ApplicationUsage>
#include <osg/Notify>

View File

@@ -10,6 +10,8 @@
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* OpenSceneGraph Public License for more details.
*/
#include <stdlib.h>
#include <osg/Geometry>
#include <osg/Notify>

View File

@@ -10,6 +10,7 @@
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* OpenSceneGraph Public License for more details.
*/
#include <string.h>
#include <string>
#include <osg/GL>
#include <osg/LightModel>

View File

@@ -10,6 +10,8 @@
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* OpenSceneGraph Public License for more details.
*/
#include <string.h>
#include <osg/GL>
#include <osg/PolygonOffset>
#include <osg/Notify>

View File

@@ -13,6 +13,7 @@
/* file: src/osg/Uniform.cpp
* author: Mike Weiblen 2006-05-15
*/
#include <string.h>
#include <osg/Notify>
#include <osg/Uniform>

View File

@@ -12,6 +12,7 @@
*/
#include <osg/Version>
#include <string>
#include <stdio.h>
extern "C" {

View File

@@ -12,6 +12,7 @@
*/
#include <fstream>
#include <stdio.h>
#include "obj.h"

View File

@@ -4,6 +4,8 @@
// Copyright (C) 2005-2006 Brede Johansen
//
#include <stdlib.h>
#include <osgSim/OpenFlightOptimizer>
#include <osg/Notify>

View File

@@ -15,6 +15,7 @@
#endif
#include <stdio.h>
#include <string.h>
#include <list>
#include <set>

View File

@@ -11,6 +11,8 @@
* OpenSceneGraph Public License for more details.
*/
#include <stdio.h>
#include <osgViewer/ViewerEventHandlers>
#include <osg/PolygonMode>

View File

@@ -11,6 +11,8 @@
* OpenSceneGraph Public License for more details.
*/
#include <stdio.h>
#include <osg/GLExtensions>
#include <osg/DeleteHandler>
#include <osgUtil/Optimizer>