aboutsummaryrefslogtreecommitdiff
path: root/include/hw/cris
diff options
context:
space:
mode:
authorMarkus Armbruster <armbru@redhat.com>2022-12-22 13:08:11 +0100
committerMichael S. Tsirkin <mst@redhat.com>2023-01-08 01:54:22 -0500
commit7a5951f651ad5f158631a826070b24631e733763 (patch)
treeb114cc7b294fb3a8fc754a040f7a88af2aceeac1 /include/hw/cris
parentf139b83717092b4080b85d6edde699d89e41a04c (diff)
downloadqemu-7a5951f651ad5f158631a826070b24631e733763.zip
qemu-7a5951f651ad5f158631a826070b24631e733763.tar.gz
qemu-7a5951f651ad5f158631a826070b24631e733763.tar.bz2
include: Include headers where needed
A number of headers neglect to include everything they need. They compile only if the headers they need are already included from elsewhere. Fix that. Signed-off-by: Markus Armbruster <armbru@redhat.com> Reviewed-by: Alistair Francis <alistair.francis@wdc.com> Message-Id: <20221222120813.727830-3-armbru@redhat.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'include/hw/cris')
-rw-r--r--include/hw/cris/etraxfs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/hw/cris/etraxfs.h b/include/hw/cris/etraxfs.h
index 8b01ed6..467b529 100644
--- a/include/hw/cris/etraxfs.h
+++ b/include/hw/cris/etraxfs.h
@@ -29,6 +29,7 @@
#include "hw/cris/etraxfs_dma.h"
#include "hw/qdev-properties.h"
#include "hw/sysbus.h"
+#include "qapi/error.h"
DeviceState *etraxfs_eth_init(NICInfo *nd, hwaddr base, int phyaddr,
struct etraxfs_dma_client *dma_out,