r2133 - in trunk/varnish-cache: . bin/varnishd

des at projects.linpro.no des at projects.linpro.no
Fri Oct 19 13:18:49 CEST 2007


Author: des
Date: 2007-10-19 13:18:49 +0200 (Fri, 19 Oct 2007)
New Revision: 2133

Modified:
   trunk/varnish-cache/bin/varnishd/storage_file.c
   trunk/varnish-cache/configure.ac
Log:
Re-add Solaris support which was removed in r1465.


Modified: trunk/varnish-cache/bin/varnishd/storage_file.c
===================================================================
--- trunk/varnish-cache/bin/varnishd/storage_file.c	2007-10-19 10:00:20 UTC (rev 2132)
+++ trunk/varnish-cache/bin/varnishd/storage_file.c	2007-10-19 11:18:49 UTC (rev 2133)
@@ -41,6 +41,10 @@
 #include <sys/mount.h>
 #endif
 
+#ifdef HAVE_SYS_STATVFS_H
+#include <sys/statvfs.h>
+#endif
+
 #ifdef HAVE_SYS_VFS_H
 #include <sys/vfs.h>
 #endif

Modified: trunk/varnish-cache/configure.ac
===================================================================
--- trunk/varnish-cache/configure.ac	2007-10-19 10:00:20 UTC (rev 2132)
+++ trunk/varnish-cache/configure.ac	2007-10-19 11:18:49 UTC (rev 2133)
@@ -67,6 +67,7 @@
 AC_HEADER_TIME
 AC_CHECK_HEADERS([sys/socket.h])
 AC_CHECK_HEADERS([sys/mount.h])
+AC_CHECK_HEADERS([sys/statvfs.h])
 AC_CHECK_HEADERS([sys/vfs.h])
 AC_CHECK_HEADERS([netinet/in.h])
 AC_CHECK_HEADERS([stddef.h])




More information about the varnish-commit mailing list