diff --git a/src/channel-smartcard.c b/src/channel-smartcard.c index 942f973..7403431 100644 --- a/src/channel-smartcard.c +++ b/src/channel-smartcard.c @@ -17,10 +17,6 @@ */ #include "config.h" -#ifdef USE_SMARTCARD -#include -#endif - #include "spice-client.h" #include "spice-common.h" diff --git a/src/smartcard-manager.c b/src/smartcard-manager.c index 8e0d239..6578328 100644 --- a/src/smartcard-manager.c +++ b/src/smartcard-manager.c @@ -22,10 +22,14 @@ #include "glib-compat.h" -#ifdef USE_SMARTCARD +#ifdef USE_SMARTCARD_012 #include #include #include +#else +#ifdef USE_SMARTCARD +#include +#endif #endif #include "spice-client.h" diff --git a/src/spicy.c b/src/spicy.c index 67873ed..38ef159 100644 --- a/src/spicy.c +++ b/src/spicy.c @@ -24,11 +24,6 @@ #include #endif -#ifdef USE_SMARTCARD -#include -#include "smartcard-manager.h" -#endif - #include "glib-compat.h" #include "spice-widget.h" #include "spice-gtk-session.h"