From: teodor Date: Wed, 25 Oct 2006 11:26:05 +0000 (+0000) Subject: Add definition of INFTIM if itsnt done yet X-Git-Url: http://sigaev.ru/git/gitweb.cgi?a=commitdiff_plain;h=a0d4661f9d3a6d5d7004adf316487957c513541f;p=ftsbench.git Add definition of INFTIM if itsnt done yet --- diff --git a/pgdriver.c b/pgdriver.c index 206c097..a8e922a 100644 --- a/pgdriver.c +++ b/pgdriver.c @@ -20,6 +20,10 @@ #endif /* HAVE_SYS_POLL_H */ #endif /* HAVE_POLL */ +#ifndef INFTIM +#define INFTIM (-1) +#endif + typedef enum SocketState { SS_NONE = 0, SS_READ,