[Spice-devel] [PATCH spice-gtk 3/3] Use libcacard.h if possible

Marc-André Lureau marcandre.lureau at gmail.com
Wed Dec 9 03:18:07 PST 2015


Hi

On Wed, Dec 9, 2015 at 9:31 AM, Victor Toso <lists at victortoso.com> wrote:
> This seems to break the build with libcacard 2.5.0 ?
> Not sure why, the m4 checks looks good.

I suppose it's because I removed some 2.5.0 headers includes. I should
have kept them for a while.
This fixes it:

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 74b3475..71ac474 100644
--- a/src/spicy.c
+++ b/src/spicy.c
@@ -24,6 +24,11 @@
 #include <termios.h>
 #endif

+#ifdef USE_SMARTCARD_012
+#include <vreader.h>
+#include "smartcard-manager.h"
+#endif



-- 
Marc-André Lureau


More information about the Spice-devel mailing list