]> git.proxmox.com Git - mirror_qemu.git/commitdiff
hw/net: fsl_etsec: Fix build error when HEX_DUMP is on
authorBin Meng <bin.meng@windriver.com>
Sun, 28 Feb 2021 05:04:31 +0000 (13:04 +0800)
committerDavid Gibson <david@gibson.dropbear.id.au>
Tue, 9 Mar 2021 22:07:09 +0000 (09:07 +1100)
"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>
hw/net/fsl_etsec/etsec.c
hw/net/fsl_etsec/rings.c

index 93886bba60fcd63a16e597779ac11a1927d8b074..bd9d62b5593d253b4db32b530cac9c94c5f1de78 100644 (file)
@@ -27,6 +27,7 @@
  */
 
 #include "qemu/osdep.h"
+#include "qemu-common.h"
 #include "hw/sysbus.h"
 #include "hw/irq.h"
 #include "hw/ptimer.h"
index fe055d3381ec44751a7ff7b2225c5377e88d9cad..d6be0d7d18dfb612521a768d7895c8399d3fe25c 100644 (file)
@@ -22,6 +22,7 @@
  * THE SOFTWARE.
  */
 #include "qemu/osdep.h"
+#include "qemu-common.h"
 #include "net/checksum.h"
 #include "qemu/log.h"
 #include "etsec.h"