summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 1f8cefe)
raw | patch | inline | side by side (parent: 1f8cefe)
author | Florian Forster <sifnfors@informatik.stud.uni-erlangen.de> | |
Thu, 12 Jun 2008 09:40:10 +0000 (11:40 +0200) | ||
committer | Florian Forster <sifnfors@informatik.stud.uni-erlangen.de> | |
Thu, 12 Jun 2008 09:40:10 +0000 (11:40 +0200) |
configure.in | patch | blob | history | |
src/collectd.h | patch | blob | history |
diff --git a/configure.in b/configure.in
index 381cc4d8b3f2c3a45902d6637ec418c96985e298..ebde3b5d2c42041a25680d92314f1635c78c6f3e 100644 (file)
--- a/configure.in
+++ b/configure.in
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 0ccf5336e6887f1bce252d8955d98895e4c19ea4..0df763ec397d9340ea020f444bbc44cea32c1478 100644 (file)
--- a/src/collectd.h
+++ b/src/collectd.h
#if HAVE_STDINT_H
# include <stdint.h>
#endif
+#if HAVE_STDBOOL_H
+# include <stdbool.h>
+#endif
#if HAVE_UNISTD_H
# include <unistd.h>
#endif