--- a/src/osgPlugins/svg/ReaderWriterSVG.cpp
+++ b/src/osgPlugins/svg/ReaderWriterSVG.cpp
@@ -21,13 +21,11 @@
 #include <osgDB/FileUtils>
 #include <osgDB/ImageOptions>
 
-extern "C" {
     #include <librsvg/rsvg.h>
 
     #ifndef LIBRSVG_CHECK_VERSION
         #include <librsvg/rsvg-cairo.h>
     #endif
-}
 
 class ReaderWriterSVG : public osgDB::ReaderWriter
 {
