summaryrefslogtreecommitdiffstats
path: root/qapi
diff options
context:
space:
mode:
authorPeter Maydell2015-08-19 17:20:19 +0200
committerPeter Maydell2015-08-19 17:29:53 +0200
commit38e20cac669083e2e10a2a9a9602cb99ec19299e (patch)
tree3c5489b0c869ddfa7e81b777c472f2cfb1170beb /qapi
parentMerge remote-tracking branch 'remotes/rth/tags/pull-axp-201508018' into staging (diff)
downloadqemu-38e20cac669083e2e10a2a9a9602cb99ec19299e.tar.gz
qemu-38e20cac669083e2e10a2a9a9602cb99ec19299e.tar.xz
qemu-38e20cac669083e2e10a2a9a9602cb99ec19299e.zip
qapi/qmp-event.c: Don't manually include os-win32.h/os-posix.h
qmp-event.c already includes qemu-common.h, so manually including os-win32.h/os-posix.h is unnecessary (and potentially fragile, since it's duplicating the #ifdef logic that chooses which of the two we need). Remove the unnecessary include logic. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Daniel P. Berrange <berrange@redhat.com>
Diffstat (limited to 'qapi')
-rw-r--r--qapi/qmp-event.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/qapi/qmp-event.c b/qapi/qmp-event.c
index 0d1ce0bd18..c0e435f994 100644
--- a/qapi/qmp-event.c
+++ b/qapi/qmp-event.c
@@ -18,14 +18,6 @@
#include "qapi/qmp/qstring.h"
#include "qapi/qmp/qjson.h"
-#ifdef _WIN32
-#include "sysemu/os-win32.h"
-#endif
-
-#ifdef CONFIG_POSIX
-#include "sysemu/os-posix.h"
-#endif
-
static QMPEventFuncEmit qmp_emit;
void qmp_event_set_func_emit(QMPEventFuncEmit emit)