]> err.no Git - varnish/commitdiff
Define INFTIM if it isn't already.
authordes <des@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Mon, 7 Aug 2006 16:17:43 +0000 (16:17 +0000)
committerdes <des@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Mon, 7 Aug 2006 16:17:43 +0000 (16:17 +0000)
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@732 d4fa192b-c00b-0410-8231-f00ffab90ce4

varnish-cache/bin/varnishd/mgt_event.c

index 8402704a9b3c14a527fc3e2da1d074779e752ce8..25dd6b75b1590430dfa80ba558315bc6855fe8eb 100644 (file)
 #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;