r770 - in trunk/varnish-cache: . bin/varnishd
des at projects.linpro.no
des at projects.linpro.no
Tue Aug 8 14:46:57 CEST 2006
Author: des
Date: 2006-08-08 14:46:57 +0200 (Tue, 08 Aug 2006)
New Revision: 770
Modified:
trunk/varnish-cache/bin/varnishd/storage_file.c
trunk/varnish-cache/configure.ac
Log:
#include <sys/vfs.h> for fstatfs if it is available.
Modified: trunk/varnish-cache/bin/varnishd/storage_file.c
===================================================================
--- trunk/varnish-cache/bin/varnishd/storage_file.c 2006-08-08 12:45:02 UTC (rev 769)
+++ trunk/varnish-cache/bin/varnishd/storage_file.c 2006-08-08 12:46:57 UTC (rev 770)
@@ -10,6 +10,10 @@
#include <sys/socket.h>
#include <sys/stat.h>
+#ifdef HAVE_SYS_VFS_H
+#include <sys/vfs.h>
+#endif
+
#include <errno.h>
#include <fcntl.h>
#include <limits.h>
Modified: trunk/varnish-cache/configure.ac
===================================================================
--- trunk/varnish-cache/configure.ac 2006-08-08 12:45:02 UTC (rev 769)
+++ trunk/varnish-cache/configure.ac 2006-08-08 12:46:57 UTC (rev 770)
@@ -41,6 +41,7 @@
AC_HEADER_SYS_WAIT
AC_HEADER_TIME
AC_CHECK_HEADERS([sys/socket.h])
+AC_CHECK_HEADERS([sys/vfs.h])
AC_CHECK_HEADERS([netinet/in.h])
AC_CHECK_HEADERS([stddef.h])
AC_CHECK_HEADERS([stdlib.h])
More information about the varnish-commit
mailing list