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=7da79af65016ae22b7d46abead4b2717ae722937;p=rrdtool.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/program@1647 a5681a0c-68f1-0310-ab6d-d61299d08faa --- diff --git a/src/rrd_daemon.c b/src/rrd_daemon.c index 7201c52..c6211a6 100644 --- a/src/rrd_daemon.c +++ b/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