From afffdeec68d907bf5606c51ca99701a882f9ca8a Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Wed, 17 Nov 2004 04:07:14 +0000 Subject: [PATCH] Set OPENLDAP_FD_SETSIZE to 4096 (if not defined) --- include/ac/fdset.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/ac/fdset.h b/include/ac/fdset.h index 994828e40f..e0a8980c14 100644 --- a/include/ac/fdset.h +++ b/include/ac/fdset.h @@ -22,6 +22,10 @@ #ifndef _AC_FDSET_H #define _AC_FDSET_H +#if !defined( OPENLDAP_FD_SETSIZE ) && !defined( FD_SETSIZE ) +# define OPENLDAP_FD_SETSIZE 4096 +#endif + #ifdef OPENLDAP_FD_SETSIZE /* assume installer desires to enlarge fd_set */ # ifdef HAVE_BITS_TYPES_H -- 2.39.5