From: oetiker Date: Fri, 7 Nov 2008 13:45:34 +0000 (+0000) Subject: rrdcached: pull in rrd_config.h so we can use its defines X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=872b63bbe6dd3705ec82523c6b37dca3182d288a;p=rrdtool-all.git 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 --- 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