Skip to content
Snippets Groups Projects
Commit 28da797a authored by Hallvard Furuseth's avatar Hallvard Furuseth
Browse files

ITS#5007: Wrap code using MSG_WAITALL in #ifdef MSG_WAITALL.

parent bfdb026f
No related branches found
No related tags found
No related merge requests found
......@@ -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};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment