diff --git a/src/rrd_graph.h b/src/rrd_graph.h
index 04158152b87ce4a7d57244a2af3a66854800fa24..5c97b80a15805ee43b7d219377f72923647263b1 100644 (file)
--- a/src/rrd_graph.h
+++ b/src/rrd_graph.h
/* 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>