diff --git a/src/osgShadow/StandardShadowMap.cpp b/src/osgShadow/StandardShadowMap.cpp index ec2b84b13..7ed0efd2f 100644 --- a/src/osgShadow/StandardShadowMap.cpp +++ b/src/osgShadow/StandardShadowMap.cpp @@ -23,7 +23,8 @@ #include #include #include -#include + +#include using namespace osgShadow; @@ -343,8 +344,8 @@ void StandardShadowMap::updateTextureCoordIndices // its not elegant to mix stdio & stl strings // but in this context I do an exception for cleaner code - std::sprintf( acFrom, expressions[i], fromTextureCoordIndex ); - std::sprintf( acTo, expressions[i], toTextureCoordIndex ); + sprintf( acFrom, expressions[i], fromTextureCoordIndex ); + sprintf( acTo, expressions[i], toTextureCoordIndex ); std::string from( acFrom ), to( acTo );