From 8ea6a9d923ab7e47debdf1bb95e3a8e818caa2b6 Mon Sep 17 00:00:00 2001 From: Christophe Fergeau Date: Wed, 9 Mar 2016 16:59:59 +0100 Subject: [PATCH] Don't include libvirt.h in virt-viewer-auth.h virt-viewer-auth.h does not use any libvirt types, so the #include is not needed, and virt-viewer-auth.h is used while building remote-viewer, which do not use libvirt compilation flags. This caused failures on a freshly installed box without libvirt headers. --- src/virt-viewer-auth.h | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/virt-viewer-auth.h b/src/virt-viewer-auth.h index 85e3bbc..cdabd00 100644 --- a/src/virt-viewer-auth.h +++ b/src/virt-viewer-auth.h @@ -25,10 +25,6 @@ #include "config.h" -#ifdef HAVE_LIBVIRT -#include -#endif - #include "virt-viewer-session.h" #include "virt-viewer-util.h"