From Andy Skinner, adding C includes to avoid issues when mixing C and C++ standard includes
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -13,6 +13,7 @@
|
||||
/* file: src/osg/Uniform.cpp
|
||||
* author: Mike Weiblen 2006-05-15
|
||||
*/
|
||||
#include <string.h>
|
||||
|
||||
#include <osg/Notify>
|
||||
#include <osg/Uniform>
|
||||
|
||||
@@ -12,6 +12,7 @@
|
||||
*/
|
||||
#include <osg/Version>
|
||||
#include <string>
|
||||
#include <stdio.h>
|
||||
|
||||
extern "C" {
|
||||
|
||||
|
||||
@@ -12,6 +12,7 @@
|
||||
*/
|
||||
|
||||
#include <fstream>
|
||||
#include <stdio.h>
|
||||
|
||||
#include "obj.h"
|
||||
|
||||
|
||||
@@ -4,6 +4,8 @@
|
||||
// Copyright (C) 2005-2006 Brede Johansen
|
||||
//
|
||||
|
||||
#include <stdlib.h>
|
||||
|
||||
#include <osgSim/OpenFlightOptimizer>
|
||||
|
||||
#include <osg/Notify>
|
||||
|
||||
@@ -15,6 +15,7 @@
|
||||
#endif
|
||||
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <list>
|
||||
#include <set>
|
||||
|
||||
|
||||
@@ -11,6 +11,8 @@
|
||||
* OpenSceneGraph Public License for more details.
|
||||
*/
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
#include <osgViewer/ViewerEventHandlers>
|
||||
|
||||
#include <osg/PolygonMode>
|
||||
|
||||
@@ -11,6 +11,8 @@
|
||||
* OpenSceneGraph Public License for more details.
|
||||
*/
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
#include <osg/GLExtensions>
|
||||
#include <osg/DeleteHandler>
|
||||
#include <osgUtil/Optimizer>
|
||||
|
||||
Reference in New Issue
Block a user