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/trunk@14323 16af8721-9629-0410-8352-f15c8da7e697
This commit is contained in:
Robert Osfield 2014-06-30 07:37:06 +00:00
parent 7a14b224ed
commit 4c18eb62ca

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