X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Flibcollectdclient%2Fclient.h;h=990035381c75d4198cf8fd6e1c202cb9891bf9ea;hb=b4c8f3f762d666742c774ab3b45815e5a416e5da;hp=b0d092d0d8c9ab3534249242279a1c43f43f94fd;hpb=5137825deeb5d4a5b763185f45b3916ccc49340d;p=collectd.git diff --git a/src/libcollectdclient/client.h b/src/libcollectdclient/client.h index b0d092d0..99003538 100644 --- a/src/libcollectdclient/client.h +++ b/src/libcollectdclient/client.h @@ -27,7 +27,9 @@ /* * Includes (for data types) */ -#include +#if HAVE_STDINT_H +# include +#endif #include #include @@ -82,7 +84,7 @@ struct lcc_value_list_s lcc_identifier_t identifier; }; typedef struct lcc_value_list_s lcc_value_list_t; -#define LCC_VALUE_LIST_INIT { NULL, 0, 0, 0, LCC_IDENTIFIER_INIT } +#define LCC_VALUE_LIST_INIT { NULL, NULL, 0, 0, 0, LCC_IDENTIFIER_INIT } struct lcc_connection_s; typedef struct lcc_connection_s lcc_connection_t;