Skip to content

Commit 4b496d0

Browse files
committed
ipc: fix clang build on openindiana
Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
1 parent 1fae15e commit 4b496d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/ipc_setup.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -425,7 +425,7 @@ init_ipc_auth_data(int sock, size_t len)
425425
data->msg_recv.msg_control = (void *)data->cmsg_cred;
426426
data->msg_recv.msg_controllen = CMSG_SPACE(sizeof(struct ucred));
427427
#endif
428-
#ifdef QB_SOLARIS
428+
#if defined(QB_SOLARIS) && !defined(_XPG4_2)
429429
data->msg_recv.msg_accrights = 0;
430430
data->msg_recv.msg_accrightslen = 0;
431431
#else

0 commit comments

Comments
 (0)