Code

Imported Upstream version 1.4.7
[pkg-rrdtool.git] / src / rrd_graph.h
index 8e28f63fec38544333b0e92e5b5596ab0d3116bb..525e01964008d7532659dde68dd798da181da0c4 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>