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.mayd...@linaro.org>
---
 include/qemu/event_notifier.h | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

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
-- 
1.9.1


Reply via email to