From: Kurt Zeilenga Date: Wed, 18 Nov 1998 20:11:15 +0000 (+0000) Subject: wrap include fcntl.h with HAVE_FCNTL_H X-Git-Tag: OPENLDAP_SLAPD_BACK_LDAP~1091 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=9f55887315fe5b70d786f110718bbe5930b6328a;p=openldap wrap include fcntl.h with HAVE_FCNTL_H --- diff --git a/clients/ud/util.c b/clients/ud/util.c index 084de81301..bb8a63f5e4 100644 --- a/clients/ud/util.c +++ b/clients/ud/util.c @@ -14,7 +14,6 @@ #include #include -#include #include #include @@ -24,6 +23,10 @@ #include #include +#ifdef HAVE_FCNTL_H +#include +#endif + #ifdef HAVE_CONIO_H #include #endif diff --git a/configure.in b/configure.in index 5d595e5dc2..319b242441 100644 --- a/configure.in +++ b/configure.in @@ -1027,13 +1027,13 @@ if test $ol_enable_cache = no ; then AC_DEFINE(LDAP_NOCACHE,1) fi if test $ol_enable_dns != no ; then - AC_DEFINE(LDAP_API_FEATURE_X_OPENLDAP_V2_DNS,LDAP_API_VENDOR_VERSION) + AC_DEFINE(LDAP_API_FEATURE_X_OPENLDAP_V2_DNS,LDAP_API_VENDOR_VERSION,1) fi if test $ol_enable_proctitle != no ; then AC_DEFINE(LDAP_PROCTITLE,1) fi if test $ol_enable_referrals != no ; then - AC_DEFINE(LDAP_API_FEATURE_X_OPENLDAP_V2_REFERRALS,LDAP_API_VENDOR_VERSION) + AC_DEFINE(LDAP_API_FEATURE_X_OPENLDAP_V2_REFERRALS,LDAP_API_VENDOR_VERSION,1) fi if test $ol_enable_cldap != no ; then AC_DEFINE(LDAP_CONNECTIONLESS,1)