mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-03-07 14:18:15 +08:00
ITS#5007: Wrap code using MSG_WAITALL in #ifdef MSG_WAITALL.
This commit is contained in:
parent
bfdb026fab
commit
28da797a3a
@ -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};
|
||||
|
Loading…
Reference in New Issue
Block a user