diff options
author | Eduardo Habkost <ehabkost@redhat.com> | 2014-09-26 16:46:03 -0300 |
---|---|---|
committer | Michael Tokarev <mjt@tls.msk.ru> | 2014-11-02 10:04:34 +0300 |
commit | afeeead1bcd1080a621500240ea74ec433b21885 (patch) | |
tree | 66e7a8940d8d87066e8eb2b14f900ef0be57ad39 | |
parent | a5ebc0ebae1d2283cfec4170b1a04317f2faee74 (diff) | |
download | hqemu-afeeead1bcd1080a621500240ea74ec433b21885.zip hqemu-afeeead1bcd1080a621500240ea74ec433b21885.tar.gz |
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.h | 4 |
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 |