r732 - trunk/varnish-cache/bin/varnishd
des at projects.linpro.no
des at projects.linpro.no
Mon Aug 7 18:17:43 CEST 2006
Author: des
Date: 2006-08-07 18:17:43 +0200 (Mon, 07 Aug 2006)
New Revision: 732
Modified:
trunk/varnish-cache/bin/varnishd/mgt_event.c
Log:
Define INFTIM if it isn't already.
Modified: trunk/varnish-cache/bin/varnishd/mgt_event.c
===================================================================
--- trunk/varnish-cache/bin/varnishd/mgt_event.c 2006-08-07 16:17:35 UTC (rev 731)
+++ trunk/varnish-cache/bin/varnishd/mgt_event.c 2006-08-07 16:17:43 UTC (rev 732)
@@ -15,6 +15,11 @@
#include "miniobj.h"
#include "binary_heap.h"
+/* INFTIM indicates an infinite timeout for poll(2) */
+#ifndef INFTIM
+#define INFTIM -1
+#endif
+
struct evsig {
struct evbase *evb;
struct ev *ev;
More information about the varnish-commit
mailing list