Commit d740cd67 authored by Dag Erling Smørgrav's avatar Dag Erling Smørgrav

The correct header for poll() is <poll.h>, not <sys/poll.h> like the Linux

man page says (poll() is an XSI extension in SUSv[23])

git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@765 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent 937321f8
......@@ -103,7 +103,7 @@ vca_handover(struct sess *sp, int bad)
/*====================================================================*/
#ifdef ACCEPTOR_USE_POLL
#include <sys/poll.h>
#include <poll.h>
static struct pollfd *pollfd;
static unsigned npoll;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment