Skip to content

Commit

Permalink
Fix build without xen
Browse files Browse the repository at this point in the history
Commit 11567cf 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 <mkletzan@redhat.com>
  • Loading branch information
nertpinx committed Jun 14, 2016
1 parent b63c7a0 commit 7163143
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/testutilsxen.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 7163143

Please sign in to comment.