]> err.no Git - varnish/commitdiff
missing #ifdef HAVE_SENDFILE
authorphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Tue, 29 Jan 2008 11:17:37 +0000 (11:17 +0000)
committerphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Tue, 29 Jan 2008 11:17:37 +0000 (11:17 +0000)
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2398 d4fa192b-c00b-0410-8231-f00ffab90ce4

varnish-cache/bin/varnishd/heritage.h

index 7e46615f9083132c5fb2785f5bde3d5ecc9f3975..af0bfe2c947c7187ee84a3476e6c266b3ed2ee5e 100644 (file)
@@ -98,8 +98,10 @@ struct params {
        /* Fetcher hints */
        unsigned                fetch_chunksize;
 
+#ifdef HAVE_SENDFILE
        /* Sendfile object minimum size */
        unsigned                sendfile_threshold;
+#endif
 
        /* VCL traces */
        unsigned                vcl_trace;