allow rrd::graph to write directly to a tcl stream ... by Dave Bodenstab <dave with...
[rrdtool.git] / src / rrd_afm.c
index 8befa29..e9a7860 100644 (file)
@@ -4,11 +4,13 @@
  * rrd_afm.h  Parsing afm tables to find width of strings.
  ****************************************************************************/
 
-#if defined(_WIN32) && !defined(__CYGWIN__) && !defined(__CYGWIN32__)
+#if defined(_WIN32) && !defined(__CYGWIN__) && !defined(__CYGWIN32__) && !defined(HAVE_CONFIG_H)
 #include "../confignt/config.h"
 #else
+#ifdef HAVE_CONFIG_H
 #include "config.h"
 #endif
+#endif
 
 #include "rrd_afm.h"
 #include "rrd_afm_data.h"