diff --git a/src/rrd_graph.h b/src/rrd_graph.h
index d3de4cf05fc6e215e10312adf2e3d9a555f7e3d7..c11ac2fea851dc921420c1f6a07d9d21578483f0 100644 (file)
--- a/src/rrd_graph.h
+++ b/src/rrd_graph.h
#include <cairo-pdf.h>
#include <cairo-svg.h>
#include <cairo-ps.h>
+
+/* without this will not compile on solaris */
+#ifndef __EXTENSIONS__
+#define __EXTENSIONS__
+#endif
#include <pango/pangocairo.h>