Use libcacard.h if possible

Drop unneeded includes (that are already undirectly included).

Signed-off-by: Marc-André Lureau <marcandre.lureau@gmail.com>
This commit is contained in:
Marc-André Lureau 2015-11-30 22:52:36 +01:00
parent 92288aa9ac
commit e0c2182937
3 changed files with 5 additions and 10 deletions

View File

@ -17,10 +17,6 @@
*/
#include "config.h"
#ifdef USE_SMARTCARD
#include <vreader.h>
#endif
#include "spice-client.h"
#include "spice-common.h"

View File

@ -22,10 +22,14 @@
#include "glib-compat.h"
#ifdef USE_SMARTCARD
#ifdef USE_SMARTCARD_012
#include <vcard_emul.h>
#include <vevent.h>
#include <vreader.h>
#else
#ifdef USE_SMARTCARD
#include <libcacard.h>
#endif
#endif
#include "spice-client.h"

View File

@ -24,11 +24,6 @@
#include <termios.h>
#endif
#ifdef USE_SMARTCARD
#include <vreader.h>
#include "smartcard-manager.h"
#endif
#include "glib-compat.h"
#include "spice-widget.h"
#include "spice-gtk-session.h"