[rrd-developers] [PATCH] rrdcached: pull in rrd_config.h so we can use its definesy
Tobias Oetiker
tobi at oetiker.ch
Fri Nov 7 14:51:46 CET 2008
thanks
tobi
Yesterday kevin brintnall wrote:
> ... particularly HAVE_VSNPRINTF
> ---
> src/rrd_daemon.c | 11 ++++++++++-
> 1 files changed, 10 insertions(+), 1 deletions(-)
>
> 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" /* {{{ */
> +/* {{{ */ks
tobi
> +#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 <stdlib.h>
>
--
Tobi Oetiker, OETIKER+PARTNER AG, Aarweg 15 CH-4600 Olten, Switzerland
http://it.oetiker.ch tobi at oetiker.ch ++41 62 775 9902 / sb: -9900
More information about the rrd-developers
mailing list