diff options
author | Philippe Mathieu-Daudé <f4bug@amsat.org> | 2018-05-28 20:26:59 -0300 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2018-05-31 19:12:13 +0200 |
commit | d791937fa0db6e6f64fc0e60c6aaf881ce51f083 (patch) | |
tree | 628be6401e96d6b3d70acc0cea35a7d8c06d9850 /hw/vfio/platform.c | |
parent | 0dd693ef1f15b6e9c4ba8b0118663e10338077cf (diff) |
vfio: Include "exec/address-spaces.h" directly in the source file
No declaration of "hw/vfio/vfio-common.h" directly requires to include
the "exec/address-spaces.h" header. To simplify dependencies and
ease the upcoming cleanup of "exec/address-spaces.h", directly include
it in the source file where the declaration are used.
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20180528232719.4721-2-f4bug@amsat.org>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Acked-by: Cornelia Huck <cohuck@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw/vfio/platform.c')
-rw-r--r-- | hw/vfio/platform.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/vfio/platform.c b/hw/vfio/platform.c index 5c921c27ba..57c4a0ee2b 100644 --- a/hw/vfio/platform.c +++ b/hw/vfio/platform.c @@ -24,6 +24,7 @@ #include "qemu/range.h" #include "sysemu/sysemu.h" #include "exec/memory.h" +#include "exec/address-spaces.h" #include "qemu/queue.h" #include "hw/sysbus.h" #include "trace.h" |