From fbf19197157cee85e6b10de37dffdb462ebeff12 Mon Sep 17 00:00:00 2001 From: Florian Forster Date: Thu, 12 Jun 2008 11:40:10 +0200 Subject: [PATCH] Build system: Check for and include . --- configure.in | 2 +- src/collectd.h | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/configure.in b/configure.in index 381cc4d8..ebde3b5d 100644 --- a/configure.in +++ b/configure.in @@ -57,7 +57,7 @@ AC_HEADER_STDC AC_HEADER_SYS_WAIT AC_HEADER_DIRENT -AC_CHECK_HEADERS(stdint.h stdio.h errno.h math.h stdarg.h syslog.h fcntl.h signal.h assert.h sys/types.h sys/socket.h sys/select.h poll.h netdb.h arpa/inet.h sys/resource.h sys/param.h kstat.h regex.h sys/ioctl.h endian.h sys/isa_defs.h) +AC_CHECK_HEADERS(stdio.h stdint.h stdbool.h errno.h math.h stdarg.h syslog.h fcntl.h signal.h assert.h sys/types.h sys/socket.h sys/select.h poll.h netdb.h arpa/inet.h sys/resource.h sys/param.h kstat.h regex.h sys/ioctl.h endian.h sys/isa_defs.h) # For ping library AC_CHECK_HEADERS(netinet/in_systm.h, [], [], diff --git a/src/collectd.h b/src/collectd.h index 0ccf5336..0df763ec 100644 --- a/src/collectd.h +++ b/src/collectd.h @@ -56,6 +56,9 @@ #if HAVE_STDINT_H # include #endif +#if HAVE_STDBOOL_H +# include +#endif #if HAVE_UNISTD_H # include #endif -- 2.30.2