From: des Date: Tue, 8 Aug 2006 09:15:18 +0000 (+0000) Subject: The correct header for poll() is , not like the Linux X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0e79db7466863a1cd47c8233bfaad5f5052afecb;p=varnish The correct header for poll() is , not like the Linux man page says (poll() is an XSI extension in SUSv[23]) git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@765 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- diff --git a/varnish-cache/bin/varnishd/cache_acceptor.c b/varnish-cache/bin/varnishd/cache_acceptor.c index 884a812a..44b25254 100644 --- a/varnish-cache/bin/varnishd/cache_acceptor.c +++ b/varnish-cache/bin/varnishd/cache_acceptor.c @@ -103,7 +103,7 @@ vca_handover(struct sess *sp, int bad) /*====================================================================*/ #ifdef ACCEPTOR_USE_POLL -#include +#include static struct pollfd *pollfd; static unsigned npoll;