merged updated win32 port by Larry Adams and the cacti team
[rrdtool.git] / src / rrd_graph.h
index 0415815..75a9439 100644 (file)
@@ -7,7 +7,13 @@
 
 /* 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>