From ec24e6293fac6a4c196f49a8575707b5dedefd1d Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Wed, 23 Nov 2005 19:41:28 +0000 Subject: [PATCH] Another getpeerucred(3) fix. --- libraries/liblutil/getpeereid.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- 2.39.5