aboutsummaryrefslogtreecommitdiff
path: root/hw/net
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2016-01-19 21:51:44 +0100
committerPaolo Bonzini <pbonzini@redhat.com>2016-03-22 22:20:17 +0100
commit4771d756f46219762477aaeaaef9bd215e3d5c60 (patch)
tree470c23c5b9a510b0d5a93cc7c4c18a9d47a29dd5 /hw/net
parent7136fc1da2690a2a8a6444311484283de0190065 (diff)
downloadqemu-4771d756f46219762477aaeaaef9bd215e3d5c60.zip
qemu-4771d756f46219762477aaeaaef9bd215e3d5c60.tar.gz
qemu-4771d756f46219762477aaeaaef9bd215e3d5c60.tar.bz2
hw: explicitly include qemu-common.h and cpu.h
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw/net')
-rw-r--r--hw/net/milkymist-minimac2.c2
-rw-r--r--hw/net/spapr_llan.c2
-rw-r--r--hw/net/xilinx_ethlite.c2
3 files changed, 6 insertions, 0 deletions
diff --git a/hw/net/milkymist-minimac2.c b/hw/net/milkymist-minimac2.c
index f01e804..1e147c3 100644
--- a/hw/net/milkymist-minimac2.c
+++ b/hw/net/milkymist-minimac2.c
@@ -24,6 +24,8 @@
#include "qemu/osdep.h"
#include "qapi/error.h"
+#include "qemu-common.h"
+#include "cpu.h" /* FIXME: why does this use TARGET_PAGE_ALIGN? */
#include "hw/hw.h"
#include "hw/sysbus.h"
#include "trace.h"
diff --git a/hw/net/spapr_llan.c b/hw/net/spapr_llan.c
index 5237b4d..6aa06cc 100644
--- a/hw/net/spapr_llan.c
+++ b/hw/net/spapr_llan.c
@@ -25,6 +25,8 @@
*
*/
#include "qemu/osdep.h"
+#include "qemu-common.h"
+#include "cpu.h"
#include "hw/hw.h"
#include "net/net.h"
#include "hw/qdev.h"
diff --git a/hw/net/xilinx_ethlite.c b/hw/net/xilinx_ethlite.c
index 71a3224..bc846e7 100644
--- a/hw/net/xilinx_ethlite.c
+++ b/hw/net/xilinx_ethlite.c
@@ -23,6 +23,8 @@
*/
#include "qemu/osdep.h"
+#include "qemu-common.h"
+#include "cpu.h" /* FIXME should not use tswap* */
#include "hw/sysbus.h"
#include "hw/hw.h"
#include "net/net.h"