diff --git a/src/rrd_graph.h b/src/rrd_graph.h
index 8e28f63fec38544333b0e92e5b5596ab0d3116bb..525e01964008d7532659dde68dd798da181da0c4 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 */
+#if defined(_WIN32) && !defined(__CYGWIN__) && !defined(__CYGWIN32__)
+#include "../win32/config.h"
+#else
+#ifdef HAVE_CONFIG_H
#include "../rrd_config.h"
+#endif
+#endif
#include <cairo.h>
#include <cairo-pdf.h>