Code

adapt includes to glib 2.9 changes
authorrwst <rwst@users.sourceforge.net>
Wed, 18 Jan 2006 15:36:35 +0000 (15:36 +0000)
committerrwst <rwst@users.sourceforge.net>
Wed, 18 Jan 2006 15:36:35 +0000 (15:36 +0000)
src/svg/svg-color.cpp

index 58f206422b047caceae5494015f0eea1410a0eef..c523c80e05fa7384dce21020bb808dd6acbbf553 100644 (file)
 #include <math.h>
 #include <glib/gstrfuncs.h>
 #include <glib/ghash.h>
-#include <glib/gprintf.h>
+
+#include <glib/gutils.h>
+#if GLIB_CHECK_VERSION(2,9,0)
+#else
+# include <glib/gprintf.h>
+#endif
+
 #include "svg.h"
 
 struct SPSVGColor {