From: Tobias Oetiker Date: Mon, 19 Nov 2007 23:40:06 +0000 (+0000) Subject: strings was not included ev if it was around X-Git-Tag: 1.2.26~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=49d46a6a49e9891c9143a250948a00104076d783;p=thirdparty%2Frrdtool-1.x.git 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 --- diff --git a/configure.ac b/configure.ac index 8f6c0f25..b2eb3235 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 f0e2f1a2..7efece10 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