From 4c39b20b01115e47a0dd9572d6464ce4fb5488ec Mon Sep 17 00:00:00 2001 From: des Date: Mon, 7 Aug 2006 16:17:43 +0000 Subject: [PATCH] Define INFTIM if it isn't already. git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@732 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- varnish-cache/bin/varnishd/mgt_event.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/varnish-cache/bin/varnishd/mgt_event.c b/varnish-cache/bin/varnishd/mgt_event.c index 8402704a..25dd6b75 100644 --- a/varnish-cache/bin/varnishd/mgt_event.c +++ b/varnish-cache/bin/varnishd/mgt_event.c @@ -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; -- 2.39.5