]> granicus.if.org Git - strace/commit
Fix build with old kernel headers
authorDmitry V. Levin <ldv@altlinux.org>
Sun, 22 Feb 2015 02:13:04 +0000 (02:13 +0000)
committerDmitry V. Levin <ldv@altlinux.org>
Sun, 22 Feb 2015 02:29:54 +0000 (02:29 +0000)
commit0f4ad30bdcb284a8e874b3d9345cb203c8cc5209
treea99bf9ae021932a0d92d3485322118fb37a9f0e6
parent87c715b32c4662bc536e1c2cc47d76f1ac319f6c
Fix build with old kernel headers

* strace.c (print_debug_info, maybe_allocate_tcb, print_signalled,
print_exited): Remove "const" qualifier from status variable to
workaround some old implementations of WIFSIGNALED/WIFSTOPPED/WIFEXITED
macros.
* v4l2.c: Include <linux/types.h>.
(v4l2_ioctl): Check that V4L2_CTRL_FLAG_NEXT_CTRL and VIDIOC_S_EXT_CTRLS
macros are defined.
* tests/Makefile.am (AM_CPPFLAGS): Define.
strace.c
tests/Makefile.am
v4l2.c