]> err.no Git - varnish/commitdiff
The correct header for poll() is <poll.h>, not <sys/poll.h> like the Linux
authordes <des@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Tue, 8 Aug 2006 09:15:18 +0000 (09:15 +0000)
committerdes <des@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Tue, 8 Aug 2006 09:15:18 +0000 (09:15 +0000)
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

varnish-cache/bin/varnishd/cache_acceptor.c

index 884a812a53fa97ea029774aba64f3df89867d3f7..44b25254b6b49761b4391dc23a75545c3776b259 100644 (file)
@@ -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;