]> git.ipfire.org Git - thirdparty/rrdtool-1.x.git/commitdiff
Unconditionally include <stdint.h> 795/head
authorRuben Kerkhof <ruben@rubenkerkhof.com>
Sun, 11 Jun 2017 11:43:16 +0000 (13:43 +0200)
committerRuben Kerkhof <ruben@rubenkerkhof.com>
Sun, 11 Jun 2017 11:43:16 +0000 (13:43 +0200)
Code including rrd_client.h should not have to define HAVE_STDINT_H.

I accidentally bumped into this while porting Collectd's build system
from autotools to meson.

src/rrd_client.h

index c97463b571287b2e63af338709520ede28709dd5..2ed64f8e7a7232ff096083259cf19a554aa71c5d 100644 (file)
@@ -27,9 +27,7 @@
 #ifndef RRD_CLIENT_H_887A36401735431B937F44DFCAE0B7C9
 #define RRD_CLIENT_H_887A36401735431B937F44DFCAE0B7C9 1
 
-# ifdef HAVE_STDINT_H
-#  include <stdint.h>
-# endif
+#include <stdint.h>
 
 /* max length of socket command or response */
 #define RRD_CMD_MAX 4096