qemu-trivial
[Top][All Lists]
Advanced

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

[Qemu-trivial] [PULL 02/23] bitops.h: Don't include qemu-common.h


From: Michael Tokarev
Subject: [Qemu-trivial] [PULL 02/23] bitops.h: Don't include qemu-common.h
Date: Sun, 2 Nov 2014 14:57:14 +0300

From: Eduardo Habkost <address@hidden>

This removes the following circular dependency:

bitops.h -> qemu-common.h -> target-i386/cpu.h -> target-i386/cpu-qom.h ->
qom/cpu.h -> qdev-core.h -> bitmap.h -> bitops.h.

Signed-off-by: Eduardo Habkost <address@hidden>
Signed-off-by: Michael Tokarev <address@hidden>
---
 include/qemu/bitops.h |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/include/qemu/bitops.h b/include/qemu/bitops.h
index 7e2d5c9..181bd46 100644
--- a/include/qemu/bitops.h
+++ b/include/qemu/bitops.h
@@ -12,7 +12,9 @@
 #ifndef BITOPS_H
 #define BITOPS_H
 
-#include "qemu-common.h"
+#include <stdint.h>
+#include <assert.h>
+
 #include "host-utils.h"
 
 #define BITS_PER_BYTE           CHAR_BIT
-- 
1.7.10.4




reply via email to

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