From e857aa81d2ad221f01b9c9243f8bdd5fe4f57844 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Aur=C3=A9lien=20Reynaud?= Date: Thu, 29 Apr 2010 09:39:48 +0200 Subject: [PATCH] Solaris 8 fixes: Check for before inclusion. --- configure.in | 3 +++ src/libcollectdclient/client.h | 4 +++- 2 files changed, 6 insertions(+), 1 deletion(-) 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 -- 2.11.0