From 22690ddd0c438475a4a6e4c239b77cae6c5ce77f Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Mon, 18 Oct 2004 22:01:10 +0000 Subject: [PATCH] Define INFTIM if not in --- include/ac/socket.h | 6 ++++++ 1 file changed, 6 insertions(+) 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_ */ -- 2.39.5