Re: [PATCH spice-gtk 3/3] Use libcacard.h if possible

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi

On Wed, Dec 9, 2015 at 9:31 AM, Victor Toso <lists@xxxxxxxxxxxxxx> 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
_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/spice-devel




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]