r335 - trunk/varnish-cache/bin/varnishd

des at projects.linpro.no des at projects.linpro.no
Thu Jul 6 10:07:09 CEST 2006


Author: des
Date: 2006-07-06 10:07:09 +0200 (Thu, 06 Jul 2006)
New Revision: 335

Modified:
   trunk/varnish-cache/bin/varnishd/cache_backend.c
Log:
Use <sys/ioctl.h> instead of <sys/filio.h> to get both the prototype for
ioctl(2) and the definition of FIONREAD.

Modified: trunk/varnish-cache/bin/varnishd/cache_backend.c
===================================================================
--- trunk/varnish-cache/bin/varnishd/cache_backend.c	2006-07-05 14:40:14 UTC (rev 334)
+++ trunk/varnish-cache/bin/varnishd/cache_backend.c	2006-07-06 08:07:09 UTC (rev 335)
@@ -36,7 +36,7 @@
 #include <string.h>
 #include <unistd.h>
 #include <sys/select.h>
-#include <sys/filio.h>
+#include <sys/ioctl.h>
 
 #include <event.h>
 




More information about the varnish-commit mailing list