]> granicus.if.org Git - strace/commit
tests: fix build with cutting-edge glibc
authorDmitry V. Levin <ldv@altlinux.org>
Wed, 10 Jul 2019 16:12:44 +0000 (16:12 +0000)
committerDmitry V. Levin <ldv@altlinux.org>
Wed, 10 Jul 2019 16:12:44 +0000 (16:12 +0000)
commite5e12a967b324058d88bb031956496c015fe28d8
tree0df3c47e8140e3a220d6b8100d60857314c9e92a
parenteab4c772516af3365e6fcf82f6a48b4b94370b95
tests: fix build with cutting-edge glibc

Fix the following compilation error:

In file included from statx.c:44:
xstatx.c:47:16: error: ‘struct libc_statx’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]

* tests/xstatx.c (struct statx): New forward declaration.
tests/xstatx.c