mirror of
https://github.com/yuzu-emu/unicorn
synced 2024-11-24 16:28:16 +00:00
hw: clean up hw/hw.h includes
Include qom/object.h and exec/memory.h instead of exec/ioport.h; exec/ioport.h was almost everywhere required only for those two includes, not for the content of the header itself. Remove block/aio.h, everybody is already including it through another path. With this change, include/hw/hw.h is freed from qemu-common.h. Backports commit df43d49cb8708b9c88a20afe0d1a3089b550a5b8 from qemu
This commit is contained in:
parent
d0d3712417
commit
9bb67a3f58
1 changed files with 2 additions and 2 deletions
|
@ -6,9 +6,9 @@
|
|||
#error Cannot include hw/hw.h from user emulation
|
||||
#endif
|
||||
|
||||
#include "qemu-common.h"
|
||||
#include "exec/cpu-common.h"
|
||||
#include "exec/ioport.h"
|
||||
#include "qom/object.h"
|
||||
#include "exec/memory.h"
|
||||
|
||||
#ifdef NEED_CPU_H
|
||||
#if TARGET_LONG_BITS == 64
|
||||
|
|
Loading…
Reference in a new issue