/* This work is part of OpenLDAP Software <http://www.openldap.org/>.
*
- * Copyright 1998-2003 The OpenLDAP Foundation
+ * Copyright 1998-2005 The OpenLDAP Foundation
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
#define LDAP_NEEDS_PROTOTYPES 1
#endif
-#ifdef HAVE_STDDEF_H
-# include <stddef.h>
-#endif
-
#ifndef LDAP_REL_ENG
#if (LDAP_VENDOR_VERSION == 000000) && !defined(LDAP_DEVEL)
#define LDAP_DEVEL
#endif
#endif
+#ifdef HAVE_STDDEF_H
+# include <stddef.h>
+#endif
+
#ifdef HAVE_EBCDIC
/* ASCII/EBCDIC converting replacements for stdio funcs
* vsnprintf and snprintf are used too, but they are already
#define vsprintf ber_pvt_vsprintf
#endif
-#ifdef OPENLDAP_FD_SETSIZE
- /* assume installer desires to enlarge fd_set */
-#ifdef HAVE_BITS_TYPES_H
-#include <bits/types.h>
-#endif
-#ifdef __FD_SETSIZE
-#undef __FD_SETSIZE
-#define __FD_SETSIZE OPENLDAP_FD_SETSIZE
-#else
-#define FD_SETSIZE OPENLDAP_FD_SETSIZE
-#endif
-#endif
+#include "ac/fdset.h"
#include "ldap_cdefs.h"
#include "ldap_features.h"