[PATCH spice] smartcard: include libcacard.h if possible

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

 



Signed-off-by: Marc-André Lureau <marcandre.lureau@xxxxxxxxx>
---
 server/smartcard.c | 6 ++++++
 1 file changed, 6 insertions(+)

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"
-- 
2.5.0

_______________________________________________
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]