f4ebca1946
Varnish is * a high-performace HTTP accelerator designed for content-heavy dynamic web sites. * designed for maximum performance on modern hardware and modern operating systems. Varnish takes full advantage of modern virtual memory systems and of advanced operating system features such as kqueue, accept filters, sendfile etc. where available. * open source, published under a two-clause BSD license. From the website: Varnish is very, very fast - ten to twenty times faster than Squid on the same hardware. http://www.varnish-cache.org/
16 lines
413 B
Text
16 lines
413 B
Text
$NetBSD: patch-ab,v 1.1.1.1 2006/12/04 16:04:54 xtraeme Exp $
|
|
|
|
--- bin/varnishd/storage_file.c.orig 2006-12-04 16:49:47.000000000 +0100
|
|
+++ bin/varnishd/storage_file.c 2006-12-04 16:54:44.000000000 +0100
|
|
@@ -37,6 +37,11 @@
|
|
#include <sys/socket.h>
|
|
#include <sys/stat.h>
|
|
|
|
+#ifdef HAVE_SYS_STATVFS_H
|
|
+#include <sys/statvfs.h>
|
|
+#define statfs statvfs
|
|
+#endif
|
|
+
|
|
#ifdef HAVE_SYS_VFS_H
|
|
#include <sys/vfs.h>
|
|
#endif
|