From 716314358a334dd2f1cdbaf472b9f5a58c705c68 Mon Sep 17 00:00:00 2001 From: Martin Kletzander Date: Tue, 14 Jun 2016 08:21:01 +0200 Subject: [PATCH] Fix build without xen Commit 11567cf66f36 introduced an include which will only work when building with xen (particularly libxl). However, that file is supposed to be includable from anywhere (as with other testutils* files. Signed-off-by: Martin Kletzander --- tests/testutilsxen.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/testutilsxen.h b/tests/testutilsxen.h index 8b997c3232..2facf5e5af 100644 --- a/tests/testutilsxen.h +++ b/tests/testutilsxen.h @@ -2,7 +2,9 @@ # define _TESTUTILSXEN_H_ # include "capabilities.h" -# include "libxl/libxl_capabilities.h" +# ifdef WITH_LIBXL +# include "libxl/libxl_capabilities.h" +# endif virCapsPtr testXenCapsInit(void);