From: Hallvard Furuseth Date: Sat, 9 Jun 2007 23:43:02 +0000 (+0000) Subject: ITS#5007: Wrap code using MSG_WAITALL in #ifdef MSG_WAITALL. X-Git-Tag: OPENLDAP_REL_ENG_2_4_MP~401 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=28da797a3af6483c66fd36a266e0894d9717e98a;p=openldap ITS#5007: Wrap code using MSG_WAITALL in #ifdef MSG_WAITALL. --- 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};