/* redefine FD_SET */1/* $OpenLDAP$ */2/* This work is part of OpenLDAP Software <http://www.openldap.org/>.3*4* Copyright 1998-2024 The OpenLDAP Foundation.5* All rights reserved.6*7* Redistribution and use in source and binary forms, with or without8* modification, are permitted only as authorized by the OpenLDAP9* Public License.10*11* A copy of this license is available in file LICENSE in the12* top-level directory of the distribution or, alternatively, at13* <http://www.OpenLDAP.org/license.html>.14*/1516/*17* This header is to be included by portable.h to ensure18* tweaking of FD_SETSIZE is done early enough to be effective.19*/2021#ifndef _AC_FDSET_H22#define _AC_FDSET_H2324#if !defined( OPENLDAP_FD_SETSIZE ) && !defined( FD_SETSIZE )25# define OPENLDAP_FD_SETSIZE 409626#endif2728#ifdef OPENLDAP_FD_SETSIZE29/* assume installer desires to enlarge fd_set */30# ifdef HAVE_BITS_TYPES_H31# include <bits/types.h>32# endif33# ifdef __FD_SETSIZE34# undef __FD_SETSIZE35# define __FD_SETSIZE OPENLDAP_FD_SETSIZE36# else37# define FD_SETSIZE OPENLDAP_FD_SETSIZE38# endif39#endif4041#endif /* _AC_FDSET_H */424344