libltpvdso: Guard the sysv/auxv.h too
PATCH 1/1 libltpvdso: Guard the sysv/auxv.h too
Obviously this header is only present when the getauxval() function is present. This should be the last fix.
Signed-off-by Cyril Hrubis <[email protected]>
--- libs/libltpvdso/vdso_helpers.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)
libs/libltpvdso/vdso_helpers.c +4 -1
@@ -8,9 +8,12 @@#include "tst_test.h" #include "parse_vdso.h" -#include <sys/auxv.h> #include "config.h" +#ifdef HAVE_GETAUXVAL +# include <sys/auxv.h> +#endif /* HAVE_GETAUXVAL */ +static unsigned long sysinfo_ehdr;static void vdso_init (void )
Signature · 1 line
2.26.2