]> git.sur5r.net Git - openldap/commitdiff
Define INFTIM if not in <poll.h>
authorKurt Zeilenga <kurt@openldap.org>
Mon, 18 Oct 2004 22:01:10 +0000 (22:01 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Mon, 18 Oct 2004 22:01:10 +0000 (22:01 +0000)
include/ac/socket.h

index 6d08a34bd322e099df5063a6a5e875f6ffea3ca8..3fb1363ccbc946e7ed392803282ec8483466a128 100644 (file)
@@ -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_ */