X-Git-Url: https://git.octo.it/?p=rrdtool.git;a=blobdiff_plain;f=src%2Frrd_client.h;h=787c2b6d649dcec54f6e171b6eba40c5a9c1d251;hp=90b78f8df989eab0b76a509ef21dc116ccbeb25e;hb=95df04d6dd28f811004faf0cd000e7f0e82beba7;hpb=aff0a2728543eee1ac21f3fa02f171caae8d9362 diff --git a/src/rrd_client.h b/src/rrd_client.h index 90b78f8..787c2b6 100644 --- a/src/rrd_client.h +++ b/src/rrd_client.h @@ -22,8 +22,24 @@ #ifndef __RRD_CLIENT_H #define __RRD_CLIENT_H 1 +#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 + #ifndef WIN32 -#include +# ifdef HAVE_STDINT_H +# include +# else +# ifdef HAVE_INTTYPES_H +# include +# else +# error "you should have stdint.h or inttypes.h to compile this" +# endif +# endif #else # include typedef signed char int8_t;