summaryrefslogtreecommitdiffstats
path: root/libcacard/vscclient.c
diff options
context:
space:
mode:
authorPeter Maydell2015-04-30 16:18:30 +0200
committerPeter Maydell2015-04-30 16:18:30 +0200
commitf90f5b9a9aa41e5ea47dc7a0f3e1f99196f485c3 (patch)
treef0420a3eb6f094bb9c988867e8f428b84980d52a /libcacard/vscclient.c
parentMerge remote-tracking branch 'remotes/cohuck/tags/s390x-20150430' into staging (diff)
parentopenrisc: cpu: Remove unused cpu_get_pc (diff)
downloadqemu-f90f5b9a9aa41e5ea47dc7a0f3e1f99196f485c3.tar.gz
qemu-f90f5b9a9aa41e5ea47dc7a0f3e1f99196f485c3.tar.xz
qemu-f90f5b9a9aa41e5ea47dc7a0f3e1f99196f485c3.zip
Merge remote-tracking branch 'remotes/mjt/tags/pull-trivial-patches-2015-04-30' into staging
trivial patches for 2015-04-30 # gpg: Signature made Thu Apr 30 14:07:50 2015 BST using RSA key ID A4C3D7DB # gpg: Good signature from "Michael Tokarev <mjt@tls.msk.ru>" # gpg: aka "Michael Tokarev <mjt@corpit.ru>" # gpg: aka "Michael Tokarev <mjt@debian.org>" * remotes/mjt/tags/pull-trivial-patches-2015-04-30: (42 commits) openrisc: cpu: Remove unused cpu_get_pc microblaze: fix memory leak tcg: Delete unused cpu_pc_from_tb() kvm: Silence warning from valgrind vhost-user: remove superfluous '\n' around error_report() target-mips: fix memory leak qmp-commands: Fix typo linux-user/elfload: use QTAILQ_FOREACH instead of open-coding it coroutine: remove unnecessary parentheses in qemu_co_queue_empty qemu-char: remove unused list node from FDCharDriver input: remove unused mouse_handlers list cpus: use first_cpu macro instead of QTAILQ_FIRST(&cpus) microblaze: cpu: delete unused cpu_interrupts_enabled microblaze: cpu: Renumber EXCP_* constants to close gap microblaze: cpu: Delete EXCP_NMI microblaze: cpu: Remove unused CC_OP enum microblaze: cpu: Remote unused cpu_get_pc microblaze: mmu: Delete flip_um fn prototype defconfigs: Piggyback microblazeel on microblaze libcacard: do not use full paths for include files in the same dir ... Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'libcacard/vscclient.c')
-rw-r--r--libcacard/vscclient.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/libcacard/vscclient.c b/libcacard/vscclient.c
index fa6041de99..0652684437 100644
--- a/libcacard/vscclient.c
+++ b/libcacard/vscclient.c
@@ -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"