libcacard: stop including qemu-common.h

This is a small step towards making libcacard standalone.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
This commit is contained in:
Paolo Bonzini 2015-04-27 12:34:18 +02:00 committed by Michael Tokarev
parent d3e4abdddf
commit 28507a415a
7 changed files with 22 additions and 7 deletions

View file

@ -5,7 +5,10 @@
* See the COPYING.LIB file in the top-level directory.
*/
#include "qemu-common.h"
#include "glib-compat.h"
#include <string.h>
#include <stdbool.h>
#include "cac.h"
#include "vcard.h"

View file

@ -5,7 +5,9 @@
* See the COPYING.LIB file in the top-level directory.
*/
#include "qemu-common.h"
#include "glib-compat.h"
#include <string.h>
#include "vcard.h"
#include "vcard_emul.h"

View file

@ -5,7 +5,7 @@
* See the COPYING.LIB file in the top-level directory.
*/
#include "qemu-common.h"
#include "glib-compat.h"
#include "vcard.h"
#include "vreader.h"

View file

@ -5,7 +5,9 @@
* See the COPYING.LIB file in the top-level directory.
*/
#include "qemu-common.h"
#include "glib-compat.h"
#include <string.h>
#include "vcard.h"
#include "vcard_emul.h"

View file

@ -25,7 +25,7 @@
#include <prthread.h>
#include <secerr.h>
#include "qemu-common.h"
#include "glib-compat.h"
#include "vcard.h"
#include "card_7816t.h"

View file

@ -10,7 +10,9 @@
#endif
#define G_LOG_DOMAIN "libcacard"
#include "qemu-common.h"
#include "glib-compat.h"
#include <string.h>
#include "vcard.h"
#include "vcard_emul.h"

View file

@ -10,14 +10,20 @@
* See the COPYING.LIB file in the top-level directory.
*/
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#ifndef _WIN32
#include <sys/socket.h>
#include <netinet/in.h>
#include <netdb.h>
#include <unistd.h>
#define closesocket(x) close(x)
#else
#include <getopt.h>
#endif
#include "qemu-common.h"
#include "glib-compat.h"
#include "vscard_common.h"