Add LDAP_PF_LOCAL_SENDMSG flag

This commit is contained in:
Howard Chu 2007-03-25 01:06:36 +00:00
parent 49d708fae3
commit 7f32178616
2 changed files with 18 additions and 0 deletions

View file

@ -144,6 +144,15 @@ AH_BOTTOM([
# define WIN32_LEAN_AND_MEAN 1
#endif
#ifdef LDAP_PF_LOCAL
#if !defined(HAVE_GETPEEREID) && \
!defined(HAVE_GETPEERUCRED) && \
!defined(SO_PEERCRED) && !defined(LOCAL_PEERCRED) && \
defined(HAVE_SENDMSG) && (defined(HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTSLEN) || \
defined(HAVE_STRUCT_MSGHDR_MSG_CONTROL))
# define LDAP_PF_LOCAL_SENDMSG 1
#endif
#ifndef LDAP_NEEDS_PROTOTYPES
/* force LDAP_P to always include prototypes */
#define LDAP_NEEDS_PROTOTYPES 1

View file

@ -1071,6 +1071,15 @@
# define WIN32_LEAN_AND_MEAN 1
#endif
#ifdef LDAP_PF_LOCAL
#if !defined(HAVE_GETPEEREID) && \
!defined(HAVE_GETPEERUCRED) && \
!defined(SO_PEERCRED) && !defined(LOCAL_PEERCRED) && \
defined(HAVE_SENDMSG) && (defined(HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTSLEN) || \
defined(HAVE_STRUCT_MSGHDR_MSG_CONTROL))
# define LDAP_PF_LOCAL_SENDMSG 1
#endif
#ifndef LDAP_NEEDS_PROTOTYPES
/* force LDAP_P to always include prototypes */
#define LDAP_NEEDS_PROTOTYPES 1