From: Kurt Zeilenga Date: Mon, 18 Oct 2004 22:01:10 +0000 (+0000) Subject: Define INFTIM if not in X-Git-Tag: OPENLDAP_REL_ENG_2_3_0ALPHA~416 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=22690ddd0c438475a4a6e4c239b77cae6c5ce77f;p=openldap Define INFTIM if not in --- diff --git a/include/ac/socket.h b/include/ac/socket.h index 6d08a34bd3..3fb1363ccb 100644 --- a/include/ac/socket.h +++ b/include/ac/socket.h @@ -217,4 +217,10 @@ LDAP_LUTIL_F( int ) getpeereid( int s, uid_t *, gid_t * ); #define NI_MAXHOST 256 #endif +#ifdef HAVE_POLL_H +# ifndef INFTIM +# define INFTIM (-1) +# endif +#endif + #endif /* _AC_SOCKET_H_ */