[Spice-commits] server/smartcard.c

Marc-André Lureau elmarco at kemper.freedesktop.org
Wed Dec 2 08:49:47 PST 2015


 server/smartcard.c |    6 ++++++
 1 file changed, 6 insertions(+)

New commits:
commit 13a3560b8884ffd003da67ed99e871dc2754bee3
Author: Marc-André Lureau <marcandre.lureau at gmail.com>
Date:   Fri Nov 27 20:41:22 2015 +0100

    smartcard: include libcacard.h if possible
    
    Signed-off-by: Marc-André Lureau <marcandre.lureau at gmail.com>

diff --git a/server/smartcard.c b/server/smartcard.c
index aad22aa..a2bba89 100644
--- a/server/smartcard.c
+++ b/server/smartcard.c
@@ -20,7 +20,13 @@
 #endif
 
 #include <arpa/inet.h>
+#ifdef USE_SMARTCARD_012
 #include <vscard_common.h>
+#else
+#ifdef USE_SMARTCARD
+#include <libcacard.h>
+#endif
+#endif
 
 #include "reds.h"
 #include "char_device.h"


More information about the Spice-commits mailing list