X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Frrd_client.h;h=6c48dec8e953823e147c66887ca6241b597f7373;hb=f467b805f7cbe821d1bfec27ad643067dd19ca10;hp=90b78f8df989eab0b76a509ef21dc116ccbeb25e;hpb=aff0a2728543eee1ac21f3fa02f171caae8d9362;p=rrdtool.git diff --git a/src/rrd_client.h b/src/rrd_client.h index 90b78f8..6c48dec 100644 --- a/src/rrd_client.h +++ b/src/rrd_client.h @@ -23,7 +23,15 @@ #define __RRD_CLIENT_H 1 #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;