From Alexander Sinditskiy, build fix to allow building against versions older than librsvg-2.36.2

git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/branches/OpenSceneGraph-3.2@14324 16af8721-9629-0410-8352-f15c8da7e697
This commit is contained in:
Robert Osfield
2014-06-30 07:37:09 +00:00
parent cd5e4a999b
commit 9d14c9908e

View File

@@ -22,7 +22,11 @@
#include <osgDB/ImageOptions>
extern "C" {
#include <librsvg/rsvg.h>
#include <librsvg/rsvg.h>
#ifndef LIBRSVG_CHECK_VERSION
#include < librsvg/rsvg-cairo.h>
#endif
}
class ReaderWriterSVG : public osgDB::ReaderWriter