From 28da797a3af6483c66fd36a266e0894d9717e98a Mon Sep 17 00:00:00 2001 From: Hallvard Furuseth Date: Sat, 9 Jun 2007 23:43:02 +0000 Subject: [PATCH] ITS#5007: Wrap code using MSG_WAITALL in #ifdef MSG_WAITALL. --- libraries/liblutil/getpeereid.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/liblutil/getpeereid.c b/libraries/liblutil/getpeereid.c index b96d8c808f..a128423036 100644 --- a/libraries/liblutil/getpeereid.c +++ b/libraries/liblutil/getpeereid.c @@ -85,7 +85,7 @@ int lutil_getpeereid( int s, uid_t *euid, gid_t *egid *egid = peercred.cr_gid; return 0; } -#elif defined( LDAP_PF_LOCAL_SENDMSG ) +#elif defined( LDAP_PF_LOCAL_SENDMSG ) && defined( MSG_WAITALL ) int err, fd; struct iovec iov; struct msghdr msg = {0}; -- 2.39.5