From: Martin Kletzander Date: Tue, 14 Jun 2016 06:21:01 +0000 (+0200) Subject: Fix build without xen X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=716314358a334dd2f1cdbaf472b9f5a58c705c68;p=libvirt.git 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 --- 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);