Skip to content
Snippets Groups Projects
Commit 9f558873 authored by Kurt Zeilenga's avatar Kurt Zeilenga
Browse files

wrap include fcntl.h with HAVE_FCNTL_H

parent 2a0715d9
No related branches found
No related tags found
No related merge requests found
...@@ -14,7 +14,6 @@ ...@@ -14,7 +14,6 @@
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include <fcntl.h>
#include <ac/ctype.h> #include <ac/ctype.h>
#include <ac/errno.h> #include <ac/errno.h>
...@@ -24,6 +23,10 @@ ...@@ -24,6 +23,10 @@
#include <ac/time.h> #include <ac/time.h>
#include <ac/unistd.h> #include <ac/unistd.h>
#ifdef HAVE_FCNTL_H
#include <fcntl.h>
#endif
#ifdef HAVE_CONIO_H #ifdef HAVE_CONIO_H
#include <conio.h> #include <conio.h>
#endif #endif
......
...@@ -1027,13 +1027,13 @@ if test $ol_enable_cache = no ; then ...@@ -1027,13 +1027,13 @@ if test $ol_enable_cache = no ; then
AC_DEFINE(LDAP_NOCACHE,1) AC_DEFINE(LDAP_NOCACHE,1)
fi fi
if test $ol_enable_dns != no ; then 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 fi
if test $ol_enable_proctitle != no ; then if test $ol_enable_proctitle != no ; then
AC_DEFINE(LDAP_PROCTITLE,1) AC_DEFINE(LDAP_PROCTITLE,1)
fi fi
if test $ol_enable_referrals != no ; then 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 fi
if test $ol_enable_cldap != no ; then if test $ol_enable_cldap != no ; then
AC_DEFINE(LDAP_CONNECTIONLESS,1) AC_DEFINE(LDAP_CONNECTIONLESS,1)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment