summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 0615181)
raw | patch | inline | side by side (parent: 0615181)
author | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Mon, 19 Nov 2007 23:40:06 +0000 (23:40 +0000) | ||
committer | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Mon, 19 Nov 2007 23:40:06 +0000 (23:40 +0000) |
program/configure.ac | patch | blob | history | |
program/src/rrd_tool.h | patch | blob | history |
diff --git a/program/configure.ac b/program/configure.ac
index 8f6c0f257f01ca9f019df1fd28e346a454e38b4d..b2eb323509c7f594846f44a4cd3018c057da0afd 100644 (file)
--- a/program/configure.ac
+++ b/program/configure.ac
dnl Checks for header files.
AC_HEADER_STDC
AC_HEADER_DIRENT
-AC_CHECK_HEADERS(sys/stat.h sys/types.h fcntl.h locale.h fp_class.h malloc.h unistd.h ieeefp.h math.h sys/times.h sys/param.h sys/resource.h float.h)
+AC_CHECK_HEADERS(sys/stat.h sys/types.h fcntl.h locale.h fp_class.h malloc.h unistd.h ieeefp.h math.h sys/times.h sys/param.h sys/resource.h float.h strings.h)
dnl Checks for typedefs, structures, and compiler characteristics.
AC_C_CONST
diff --git a/program/src/rrd_tool.h b/program/src/rrd_tool.h
index f0e2f1a26854632b931678d54d75c5f730d4cb88..7efece1002a07700a5385a30fb85f6ff5d7a4299 100644 (file)
--- a/program/src/rrd_tool.h
+++ b/program/src/rrd_tool.h
# include <unistd.h>
#endif
+#if HAVE_STRINGS_H
+# include <strings.h>
+#endif
+
#if TIME_WITH_SYS_TIME
# include <sys/time.h>
# include <time.h>