From 4c71b0ee7c9177c6ffcecef229e147e60fe4299f Mon Sep 17 00:00:00 2001 From: "Daniel P. Berrange" Date: Thu, 21 Sep 2017 08:55:07 +0100 Subject: [PATCH] Fix commandhelper build on win32 For win32 we need EXIT_AM_SKIP which is in testutils.h. We must define NO_LIBVIRT to prevent replacement of fprintf with virFilePrintf as we can't link to libvirt_util.la Signed-off-by: Daniel P. Berrange --- tests/commandhelper.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/commandhelper.c b/tests/commandhelper.c index e9e6353f3f..1da2834aa4 100644 --- a/tests/commandhelper.c +++ b/tests/commandhelper.c @@ -28,6 +28,8 @@ #include #include "internal.h" +#define NO_LIBVIRT +#include "testutils.h" #ifndef WIN32