OSDN Git Service

qapi/qmp-event.c: Don't manually include os-win32.h/os-posix.h
authorPeter Maydell <peter.maydell@linaro.org>
Wed, 19 Aug 2015 15:20:19 +0000 (16:20 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Wed, 19 Aug 2015 15:29:53 +0000 (16:29 +0100)
commit38e20cac669083e2e10a2a9a9602cb99ec19299e
tree3c5489b0c869ddfa7e81b777c472f2cfb1170beb
parent4c4a29cb681ec0374616e07c69714b909641e929
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>
qapi/qmp-event.c