From: wessels <> Date: Thu, 4 Jan 2001 14:32:08 +0000 (+0000) Subject: Need to include for statvfs(). X-Git-Tag: SQUID_3_0_PRE1~1702 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c0db87f21fa0c7cec94a99c2edc2c6102eee29fa;p=thirdparty%2Fsquid.git Need to include for statvfs(). --- diff --git a/src/store_dir.cc b/src/store_dir.cc index d338feb81f..e791e61b5a 100644 --- a/src/store_dir.cc +++ b/src/store_dir.cc @@ -1,6 +1,6 @@ /* - * $Id: store_dir.cc,v 1.118 2001/01/02 01:41:31 wessels Exp $ + * $Id: store_dir.cc,v 1.119 2001/01/04 07:32:08 wessels Exp $ * * DEBUG: section 47 Store Directory Routines * AUTHOR: Duane Wessels @@ -35,6 +35,12 @@ #include "squid.h" +#if HAVE_STATVFS +#if HAVE_SYS_STATVFS_H +#include +#endif +#endif + static int storeDirValidSwapDirSize(int, ssize_t); static STDIRSELECT storeDirSelectSwapDirRoundRobin; static STDIRSELECT storeDirSelectSwapDirLeastLoad;