r734 - trunk/varnish-cache/bin/varnishd

des at projects.linpro.no des at projects.linpro.no
Mon Aug 7 18:20:16 CEST 2006


Author: des
Date: 2006-08-07 18:20:16 +0200 (Mon, 07 Aug 2006)
New Revision: 734

Modified:
   trunk/varnish-cache/bin/varnishd/varnishd.c
Log:
Define INFTIM if it isn't already.

Modified: trunk/varnish-cache/bin/varnishd/varnishd.c
===================================================================
--- trunk/varnish-cache/bin/varnishd/varnishd.c	2006-08-07 16:20:04 UTC (rev 733)
+++ trunk/varnish-cache/bin/varnishd/varnishd.c	2006-08-07 16:20:16 UTC (rev 734)
@@ -28,6 +28,11 @@
 #include "heritage.h"
 #include "shmlog.h"
 
+/* INFTIM indicates an infinite timeout for poll(2) */
+#ifndef INFTIM
+#define INFTIM -1
+#endif
+
 struct heritage heritage;
 
 /*--------------------------------------------------------------------*/




More information about the varnish-commit mailing list