r765 - trunk/varnish-cache/bin/varnishd

des at projects.linpro.no des at projects.linpro.no
Tue Aug 8 11:15:18 CEST 2006


Author: des
Date: 2006-08-08 11:15:18 +0200 (Tue, 08 Aug 2006)
New Revision: 765

Modified:
   trunk/varnish-cache/bin/varnishd/cache_acceptor.c
Log:
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])

Modified: trunk/varnish-cache/bin/varnishd/cache_acceptor.c
===================================================================
--- trunk/varnish-cache/bin/varnishd/cache_acceptor.c	2006-08-08 07:47:52 UTC (rev 764)
+++ trunk/varnish-cache/bin/varnishd/cache_acceptor.c	2006-08-08 09:15:18 UTC (rev 765)
@@ -103,7 +103,7 @@
 /*====================================================================*/
 #ifdef ACCEPTOR_USE_POLL
 
-#include <sys/poll.h>
+#include <poll.h>
 
 static struct pollfd *pollfd;
 static unsigned npoll;




More information about the varnish-commit mailing list