]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Need to include <sys/statvfs> for statvfs().
authorwessels <>
Thu, 4 Jan 2001 14:32:08 +0000 (14:32 +0000)
committerwessels <>
Thu, 4 Jan 2001 14:32:08 +0000 (14:32 +0000)
src/store_dir.cc

index d338feb81f5327fe813e504746578338ca1507b5..e791e61b5aa4f34dc323f07ea122db1ef83e9a90 100644 (file)
@@ -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
 
 #include "squid.h"
 
+#if HAVE_STATVFS
+#if HAVE_SYS_STATVFS_H
+#include <sys/statvfs.h>
+#endif
+#endif
+
 static int storeDirValidSwapDirSize(int, ssize_t);
 static STDIRSELECT storeDirSelectSwapDirRoundRobin;
 static STDIRSELECT storeDirSelectSwapDirLeastLoad;