[PATCH] fix builds where HAVE_MQUEUE_H isn't defined
Dmitry V. Levin
ldv at altlinux.org
Tue Jul 28 19:39:26 UTC 2015
On Mon, Jul 27, 2015 at 05:49:48PM -0700, enh wrote:
> Android doesn't have <mqueue.h>.
>
> diff --git a/ipc.c b/ipc.c
> index 33f4872..52a1d7a 100644
> --- a/ipc.c
> +++ b/ipc.c
> @@ -342,7 +342,7 @@ SYS_FUNC(mq_open)
> /* mode */
> tprintf(", %#lo, ", tcp->u_arg[2]);
> # ifndef HAVE_MQUEUE_H
> - printaddr(tcp, tcp->u_arg[3]);
> + printaddr(tcp->u_arg[3]);
> # else
> struct mq_attr attr;
Oops. Thanks.
--
ldv
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://lists.strace.io/pipermail/strace-devel/attachments/20150728/7fd645d6/attachment.bin>
More information about the Strace-devel
mailing list