diff --git a/src/rrd_graph.h b/src/rrd_graph.h
index c11ac2fea851dc921420c1f6a07d9d21578483f0..b2b03f7a14637602a387aa680c4963e8b4e7795e 100644 (file)
--- a/src/rrd_graph.h
+++ b/src/rrd_graph.h
#define y1 cairo_y1
#define index cairo_index
+/* this may configure __EXTENSIONS__ without which pango will fail to compile
+ so load this early */
+#ifdef HAVE_CONFIG_H
+#include "../rrd_config.h"
+#elif defined(_WIN32) && !defined(__CYGWIN__) && !defined(__CYGWIN32__)
+#include "../win32/config.h"
+#endif
+
#include <cairo.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>
int draw_x_grid; /* no x-grid at all */
int draw_y_grid; /* no y-grid at all */
unsigned int draw_3d_border; /* size of border in pixels, 0 for off */
+ unsigned int dynamic_labels; /* pick the label shape according to the line drawn */
double grid_dash_on, grid_dash_off;
xlab_t xlab_user; /* user defined labeling for xaxis */
char xlab_form[210]; /* format for the label on the xaxis */