qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Peter Maydell
Subject: [Qemu-devel] [PATCH 11/12] event_notifier.h: Don't include qemu-common.h
Date: Wed, 22 Jul 2015 17:44:10 +0100

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 <address@hidden>
---
 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

[Prev in Thread] Current Thread [Next in Thread]