]> git.ipfire.org Git - thirdparty/valgrind.git/commit
Make sys-statx.c test compile with glibc >= 2.28
authorPhilippe Waroquiers <philippe.waroquiers@skynet.be>
Sun, 12 Aug 2018 11:27:38 +0000 (13:27 +0200)
committerPhilippe Waroquiers <philippe.waroquiers@skynet.be>
Sun, 12 Aug 2018 11:28:50 +0000 (13:28 +0200)
commit7fe4ff55cce4c62f17262f2cf30b97b23af142b4
tree19e37df7e2169728fc08265afb84e1e1fb12796a
parent3d25f6acab6ab6a66ed1705264dbf45833331ef5
Make sys-statx.c test compile with glibc >= 2.28

Newer glibc >= 2.28 provides a wrapper (and struct definitions) for statx.
So, only include linux/stat.h on older glibc.

This fixes a build failure on (at least) fedora 29 with glibc 2.28
memcheck/tests/linux/sys-statx.c