From 371f37570bef44cde48288c4c270b1eb27f59c99 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/program@1232 a5681a0c-68f1-0310-ab6d-d61299d08faa --- configure.ac | 2 +- src/rrd_tool.h | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 8f6c0f2..b2eb323 100644 --- a/configure.ac +++ b/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/src/rrd_tool.h b/src/rrd_tool.h index f0e2f1a..7efece1 100644 --- a/src/rrd_tool.h +++ b/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