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:
parent
d3e4abdddf
commit
28507a415a
@ -5,7 +5,10 @@
|
|||||||
* See the COPYING.LIB file in the top-level directory.
|
* 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 "cac.h"
|
||||||
#include "vcard.h"
|
#include "vcard.h"
|
||||||
|
@ -5,7 +5,9 @@
|
|||||||
* See the COPYING.LIB file in the top-level directory.
|
* 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.h"
|
||||||
#include "vcard_emul.h"
|
#include "vcard_emul.h"
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
* See the COPYING.LIB file in the top-level directory.
|
* See the COPYING.LIB file in the top-level directory.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "qemu-common.h"
|
#include "glib-compat.h"
|
||||||
|
|
||||||
#include "vcard.h"
|
#include "vcard.h"
|
||||||
#include "vreader.h"
|
#include "vreader.h"
|
||||||
|
@ -5,7 +5,9 @@
|
|||||||
* See the COPYING.LIB file in the top-level directory.
|
* 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.h"
|
||||||
#include "vcard_emul.h"
|
#include "vcard_emul.h"
|
||||||
|
@ -25,7 +25,7 @@
|
|||||||
#include <prthread.h>
|
#include <prthread.h>
|
||||||
#include <secerr.h>
|
#include <secerr.h>
|
||||||
|
|
||||||
#include "qemu-common.h"
|
#include "glib-compat.h"
|
||||||
|
|
||||||
#include "vcard.h"
|
#include "vcard.h"
|
||||||
#include "card_7816t.h"
|
#include "card_7816t.h"
|
||||||
|
@ -10,7 +10,9 @@
|
|||||||
#endif
|
#endif
|
||||||
#define G_LOG_DOMAIN "libcacard"
|
#define G_LOG_DOMAIN "libcacard"
|
||||||
|
|
||||||
#include "qemu-common.h"
|
#include "glib-compat.h"
|
||||||
|
|
||||||
|
#include <string.h>
|
||||||
|
|
||||||
#include "vcard.h"
|
#include "vcard.h"
|
||||||
#include "vcard_emul.h"
|
#include "vcard_emul.h"
|
||||||
|
@ -10,14 +10,20 @@
|
|||||||
* See the COPYING.LIB file in the top-level directory.
|
* See the COPYING.LIB file in the top-level directory.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include <stdio.h>
|
||||||
|
#include <stdlib.h>
|
||||||
|
#include <string.h>
|
||||||
#ifndef _WIN32
|
#ifndef _WIN32
|
||||||
#include <sys/socket.h>
|
#include <sys/socket.h>
|
||||||
#include <netinet/in.h>
|
#include <netinet/in.h>
|
||||||
#include <netdb.h>
|
#include <netdb.h>
|
||||||
|
#include <unistd.h>
|
||||||
#define closesocket(x) close(x)
|
#define closesocket(x) close(x)
|
||||||
|
#else
|
||||||
|
#include <getopt.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "qemu-common.h"
|
#include "glib-compat.h"
|
||||||
|
|
||||||
#include "vscard_common.h"
|
#include "vscard_common.h"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user