diff --git a/tests/testutils.h b/tests/testutils.h index bf5c701743..73c5f884c1 100644 --- a/tests/testutils.h +++ b/tests/testutils.h @@ -31,6 +31,10 @@ # define EXIT_AM_SKIP 77 /* tell Automake we're skipping a test */ # define EXIT_AM_HARDFAIL 99 /* tell Automake that the framework is broken */ +/* Work around lack of gnulib support for fprintf %z */ +# undef fprintf +# define fprintf virFilePrintf + extern char *progname; extern char *abs_srcdir;