Code

strings was not included ev if it was around
authoroetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa>
Mon, 19 Nov 2007 23:40:06 +0000 (23:40 +0000)
committeroetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa>
Mon, 19 Nov 2007 23:40:06 +0000 (23:40 +0000)
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2@1232 a5681a0c-68f1-0310-ab6d-d61299d08faa

program/configure.ac
program/src/rrd_tool.h

index 8f6c0f257f01ca9f019df1fd28e346a454e38b4d..b2eb323509c7f594846f44a4cd3018c057da0afd 100644 (file)
@@ -222,7 +222,7 @@ CONFIGURE_PART(Checking for Header Files)
 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
index f0e2f1a26854632b931678d54d75c5f730d4cb88..7efece1002a07700a5385a30fb85f6ff5d7a4299 100644 (file)
@@ -75,6 +75,10 @@ extern "C" {
 # include <unistd.h>
 #endif
 
+#if HAVE_STRINGS_H
+# include <strings.h>
+#endif
+
 #if TIME_WITH_SYS_TIME
 # include <sys/time.h>
 # include <time.h>