From: Aurélien Reynaud Date: Thu, 29 Apr 2010 07:39:48 +0000 (+0200) Subject: Solaris 8 fixes: Check for before inclusion. X-Git-Tag: collectd-4.10.0~3^2~1^2~1 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=e857aa81d2ad221f01b9c9243f8bdd5fe4f57844;p=collectd.git Solaris 8 fixes: Check for before inclusion. --- diff --git a/configure.in b/configure.in index f8bf90cc..95552fd0 100644 --- a/configure.in +++ b/configure.in @@ -690,6 +690,7 @@ if test "x$fp_layout_type" = "xunknown"; then #if HAVE_STDINT_H # include #endif +#include #if HAVE_STDBOOL_H # include #endif @@ -734,6 +735,7 @@ if test "x$fp_layout_type" = "xunknown"; then #if HAVE_STDINT_H # include #endif +#include #if HAVE_STDBOOL_H # include #endif @@ -786,6 +788,7 @@ if test "x$fp_layout_type" = "xunknown"; then #if HAVE_STDINT_H # include #endif +#include #if HAVE_STDBOOL_H # include #endif diff --git a/src/libcollectdclient/client.h b/src/libcollectdclient/client.h index b0d092d0..11e7b13c 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