]> granicus.if.org Git - strace/commit
tests/mmsg.c: fix build on rhel6/ppc
authorDmitry V. Levin <ldv@altlinux.org>
Tue, 12 Jan 2016 04:37:06 +0000 (04:37 +0000)
committerDmitry V. Levin <ldv@altlinux.org>
Tue, 12 Jan 2016 05:06:10 +0000 (05:06 +0000)
commiteb4649a0dc0bfaa0df336de5dc95b41612e0b42d
tree5ec76c37c503584582dca4ce7a42d2b73ccf7477
parent8493dcf6f7d7e355fe8c14aeb70aa69045f9fb0b
tests/mmsg.c: fix build on rhel6/ppc

There are weird platforms that define __NR_sendmmsg but at the same time
do not define __NR_recvmmsg.  Add a workaround for them.

* configure.ac (AC_CHECK_FUNCS): Add recvmmsg.
* tests/mmsg.c: Check for __NR_recvmmsg || HAVE_RECVMMSG.
configure.ac
tests/mmsg.c