aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEduardo Habkost <ehabkost@redhat.com>2014-09-26 16:46:03 -0300
committerMichael Tokarev <mjt@tls.msk.ru>2014-11-02 10:04:34 +0300
commitafeeead1bcd1080a621500240ea74ec433b21885 (patch)
tree66e7a8940d8d87066e8eb2b14f900ef0be57ad39
parenta5ebc0ebae1d2283cfec4170b1a04317f2faee74 (diff)
downloadqemu-afeeead1bcd1080a621500240ea74ec433b21885.zip
qemu-afeeead1bcd1080a621500240ea74ec433b21885.tar.gz
qemu-afeeead1bcd1080a621500240ea74ec433b21885.tar.bz2
bitops.h: Don't include qemu-common.h
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 <ehabkost@redhat.com> Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
-rw-r--r--include/qemu/bitops.h4
1 files changed, 3 insertions, 1 deletions
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