]> git.sur5r.net Git - openldap/commitdiff
More prep for poll(2) support.
authorKurt Zeilenga <kurt@openldap.org>
Fri, 9 Jul 2004 19:08:48 +0000 (19:08 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Fri, 9 Jul 2004 19:08:48 +0000 (19:08 +0000)
include/ac/fdset.h
include/ac/socket.h

index 45ed4247abccb7cb27b0197c4a78430a2a1ec13f..994828e40fd4161c52d4d50baebd75cb916975c7 100644 (file)
  * <http://www.OpenLDAP.org/license.html>.
  */
 
+/*
+ * This header is to be included by portable.h to ensure
+ * tweaking of FD_SETSIZE is done early enough to be effective.
+ */
+
 #ifndef _AC_FDSET_H
 #define _AC_FDSET_H
 
index e0b7ec945d2a3033a9f08e600d13a7ad2cd29eb7..6d08a34bd322e099df5063a6a5e875f6ffea3ca8 100644 (file)
 #include <sys/types.h>
 #endif
 
+#ifdef HAVE_POLL_H
+#include <poll.h>
+#endif
+
 #ifdef HAVE_SYS_SOCKET_H
 #include <sys/socket.h>