From 4e531d563f9e96c20f73e1e24736696f424f9860 Mon Sep 17 00:00:00 2001 From: des Date: Fri, 19 Oct 2007 11:18:49 +0000 Subject: [PATCH] Re-add Solaris support which was removed in r1465. git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2133 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- varnish-cache/bin/varnishd/storage_file.c | 4 ++++ varnish-cache/configure.ac | 1 + 2 files changed, 5 insertions(+) diff --git a/varnish-cache/bin/varnishd/storage_file.c b/varnish-cache/bin/varnishd/storage_file.c index ebf0517d..eb054f96 100644 --- a/varnish-cache/bin/varnishd/storage_file.c +++ b/varnish-cache/bin/varnishd/storage_file.c @@ -41,6 +41,10 @@ #include #endif +#ifdef HAVE_SYS_STATVFS_H +#include +#endif + #ifdef HAVE_SYS_VFS_H #include #endif diff --git a/varnish-cache/configure.ac b/varnish-cache/configure.ac index 07e136cc..92cd8160 100644 --- a/varnish-cache/configure.ac +++ b/varnish-cache/configure.ac @@ -67,6 +67,7 @@ AC_HEADER_SYS_WAIT 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]) -- 2.39.5