diff options
author | Bin Meng | 2021-02-28 06:04:31 +0100 |
---|---|---|
committer | David Gibson | 2021-03-09 23:07:09 +0100 |
commit | f149c9b7f942c56f30e66be034f669b95255474e (patch) | |
tree | 74b4529d104ff2b1b0f14157e356f0fd6febbb7b /hw/net/fsl_etsec/etsec.c | |
parent | spapr_drc.c: use DRC reconfiguration to cleanup DIMM unplug state (diff) | |
download | qemu-f149c9b7f942c56f30e66be034f669b95255474e.tar.gz qemu-f149c9b7f942c56f30e66be034f669b95255474e.tar.xz qemu-f149c9b7f942c56f30e66be034f669b95255474e.zip |
hw/net: fsl_etsec: Fix build error when HEX_DUMP is on
"qemu-common.h" should be included to provide the forward declaration
of qemu_hexdump() when HEX_DUMP is on.
Signed-off-by: Bin Meng <bin.meng@windriver.com>
Message-Id: <20210228050431.24647-1-bmeng.cn@gmail.com>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'hw/net/fsl_etsec/etsec.c')
-rw-r--r-- | hw/net/fsl_etsec/etsec.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/net/fsl_etsec/etsec.c b/hw/net/fsl_etsec/etsec.c index 93886bba60..bd9d62b559 100644 --- a/hw/net/fsl_etsec/etsec.c +++ b/hw/net/fsl_etsec/etsec.c @@ -27,6 +27,7 @@ */ #include "qemu/osdep.h" +#include "qemu-common.h" #include "hw/sysbus.h" #include "hw/irq.h" #include "hw/ptimer.h" |