diff --git a/src/osgDB/FileUtils.cpp b/src/osgDB/FileUtils.cpp index edc090a1a..21e0f79e9 100644 --- a/src/osgDB/FileUtils.cpp +++ b/src/osgDB/FileUtils.cpp @@ -45,7 +45,7 @@ bool osgDB::fileExists(const std::string& filename) osgDB::FileType osgDB::fileType(const std::string& filename) { #if defined(WIN32) && !defined(__CYGWIN__) - if (!fileExists(const std::string& filename)) + if (!fileExists(filename)) { return FILE_NOT_FOUND; } diff --git a/src/osgGA/StateSetManipulator.cpp b/src/osgGA/StateSetManipulator.cpp index 994fe9dcb..91fac11db 100644 --- a/src/osgGA/StateSetManipulator.cpp +++ b/src/osgGA/StateSetManipulator.cpp @@ -5,6 +5,7 @@ #include #include #include +#include using namespace osg; using namespace osgGA;