diff options
author | Christophe Fergeau <cfergeau@redhat.com> | 2015-12-09 12:05:06 +0100 |
---|---|---|
committer | Christophe Fergeau <cfergeau@redhat.com> | 2015-12-09 12:05:06 +0100 |
commit | afe52e263c1241c38815618a2aabd008a5ecbfad (patch) | |
tree | 1e4caa2e042407fb5f51cda8fb41f87cd0edbd6e | |
parent | e8fde7c546eda396181c8809f9b91fb1091cd195 (diff) | |
download | spice-gtk-afe52e263c1241c38815618a2aabd008a5ecbfad.tar.gz spice-gtk-afe52e263c1241c38815618a2aabd008a5ecbfad.tar.xz spice-gtk-afe52e263c1241c38815618a2aabd008a5ecbfad.zip |
smartcard: Fix compilation with older libcacard
e0c2182937 dropped some #include from channel-smartcard.c and spicy.c as
they were redundant with the headers already included from
spice-common/common/messages.h. While this is true for the newer
libcacard.h header, we need to include more headers to support older
libcacard, or compilation breaks.
-rw-r--r-- | src/channel-smartcard.c | 4 | ||||
-rw-r--r-- | src/spicy.c | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/src/channel-smartcard.c b/src/channel-smartcard.c index 7403431..b5535e6 100644 --- a/src/channel-smartcard.c +++ b/src/channel-smartcard.c @@ -17,6 +17,10 @@ */ #include "config.h" +#ifdef USE_SMARTCARD_012 +#include <vreader.h> +#endif + #include "spice-client.h" #include "spice-common.h" diff --git a/src/spicy.c b/src/spicy.c index 38ef159..12ae653 100644 --- a/src/spicy.c +++ b/src/spicy.c @@ -24,6 +24,10 @@ #include <termios.h> #endif +#ifdef USE_SMARTCARD_012 +#include <vreader.h> +#endif + #include "glib-compat.h" #include "spice-widget.h" #include "spice-gtk-session.h" |