diff mbox

[11/12] event_notifier.h: Don't include qemu-common.h

Message ID 1437583451-9677-12-git-send-email-peter.maydell@linaro.org
State Rejected
Headers show

Commit Message

Peter Maydell July 22, 2015, 4:44 p.m. UTC
Don't include qemu-common.h or windows.h in event_notifier.h; instead
include osdep.h and typedefs.h, which is all we need.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
---
 include/qemu/event_notifier.h | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)
diff mbox

Patch

diff --git a/include/qemu/event_notifier.h b/include/qemu/event_notifier.h
index 88b57af..ca7491b 100644
--- a/include/qemu/event_notifier.h
+++ b/include/qemu/event_notifier.h
@@ -13,11 +13,8 @@ 
 #ifndef QEMU_EVENT_NOTIFIER_H
 #define QEMU_EVENT_NOTIFIER_H
 
-#include "qemu-common.h"
-
-#ifdef _WIN32
-#include <windows.h>
-#endif
+#include "osdep.h"
+#include "qemu/typedefs.h"
 
 struct EventNotifier {
 #ifdef _WIN32