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

varnish-cache/bin/varnishd/varnishd.c

index 27a41ccd73a95fbb817838fcbc2625106b72238e..904b597814abd79c2c035e92788570cd47e57695 100644 (file)
 #include "heritage.h"
 #include "shmlog.h"
 
+/* INFTIM indicates an infinite timeout for poll(2) */
+#ifndef INFTIM
+#define INFTIM -1
+#endif
+
 struct heritage heritage;
 
 /*--------------------------------------------------------------------*/