From: robertc <> Date: Tue, 29 Jul 2003 18:20:59 +0000 (+0000) Subject: statfs bugfix from Alan Barrett X-Git-Tag: SQUID_3_0_PRE3~51 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=ec15e0226c3960e9cc4cc628256ee2a993b078d3;p=thirdparty%2Fsquid.git statfs bugfix from Alan Barrett --- diff --git a/src/store_dir.cc b/src/store_dir.cc index cdb7257d25..2676849a14 100644 --- a/src/store_dir.cc +++ b/src/store_dir.cc @@ -1,6 +1,6 @@ /* - * $Id: store_dir.cc,v 1.148 2003/07/22 15:23:02 robertc Exp $ + * $Id: store_dir.cc,v 1.149 2003/07/29 12:20:59 robertc Exp $ * * DEBUG: section 47 Store Directory Routines * AUTHOR: Duane Wessels @@ -42,8 +42,15 @@ #if HAVE_SYS_STATVFS_H #include #endif +#endif /* HAVE_STATVFS */ +/* statfs() needs and on BSD systems */ +#if HAVE_SYS_PARAM_H +#include #endif -/* Windows uses sys/vfs.h */ +#if HAVE_SYS_MOUNT_H +#include +#endif +/* Windows and Linux use sys/vfs.h */ #if HAVE_SYS_VFS_H #include #endif