From 872b63bbe6dd3705ec82523c6b37dca3182d288a Mon Sep 17 00:00:00 2001 From: oetiker Date: Fri, 7 Nov 2008 13:45:34 +0000 Subject: [PATCH] rrdcached: pull in rrd_config.h so we can use its defines ... particularly HAVE_VSNPRINTF -- kevin brintnall git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1647 a5681a0c-68f1-0310-ab6d-d61299d08faa --- program/src/rrd_daemon.c | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/program/src/rrd_daemon.c b/program/src/rrd_daemon.c index 7201c52c..c6211a6f 100644 --- a/program/src/rrd_daemon.c +++ b/program/src/rrd_daemon.c @@ -62,7 +62,16 @@ /* * Now for some includes.. */ -#include "rrd.h" /* {{{ */ +/* {{{ */ +#if defined(_WIN32) && !defined(__CYGWIN__) && !defined(__CYGWIN32__) && !defined(HAVE_CONFIG_H) +#include "../win32/config.h" +#else +#ifdef HAVE_CONFIG_H +#include "../rrd_config.h" +#endif +#endif + +#include "rrd.h" #include "rrd_client.h" #include -- 2.30.2