From: Kurt Zeilenga Date: Wed, 23 Nov 2005 19:41:28 +0000 (+0000) Subject: Another getpeerucred(3) fix. X-Git-Tag: OPENLDAP_REL_ENG_2_4_BP~720 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=ec24e6293fac6a4c196f49a8575707b5dedefd1d;p=openldap Another getpeerucred(3) fix. --- diff --git a/libraries/liblutil/getpeereid.c b/libraries/liblutil/getpeereid.c index d75d8f87fd..30335ec4d4 100644 --- a/libraries/liblutil/getpeereid.c +++ b/libraries/liblutil/getpeereid.c @@ -35,7 +35,8 @@ #include #endif -#if !defined(SO_PEERCRED) && !defined(LOCAL_PEERCRED) && \ +#if !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 DO_SENDMSG