From 8c3db9a5cc27f8d9db4f064bd4dc6ec8bd981339 Mon Sep 17 00:00:00 2001 From: oetiker Date: Mon, 19 Nov 2007 23:40:06 +0000 Subject: [PATCH] strings was not included ev if it was around git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2@1232 a5681a0c-68f1-0310-ab6d-d61299d08faa --- program/configure.ac | 2 +- program/src/rrd_tool.h | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/program/configure.ac b/program/configure.ac index 8f6c0f25..b2eb3235 100644 --- a/program/configure.ac +++ b/program/configure.ac @@ -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 diff --git a/program/src/rrd_tool.h b/program/src/rrd_tool.h index f0e2f1a2..7efece10 100644 --- a/program/src/rrd_tool.h +++ b/program/src/rrd_tool.h @@ -75,6 +75,10 @@ extern "C" { # include #endif +#if HAVE_STRINGS_H +# include +#endif + #if TIME_WITH_SYS_TIME # include # include -- 2.30.2