summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorPeter Maydell2020-07-04 11:23:17 +0200
committerLaurent Vivier2020-07-07 12:38:50 +0200
commit89615cfef57e04da0e5a1bd212a62f8696468e79 (patch)
tree67817b4e161f0169fa9c59b39b402221fd90411b /net
parentintel_iommu: "aw-bits" error message still refers to "x-aw-bits" (diff)
downloadqemu-89615cfef57e04da0e5a1bd212a62f8696468e79.tar.gz
qemu-89615cfef57e04da0e5a1bd212a62f8696468e79.tar.xz
qemu-89615cfef57e04da0e5a1bd212a62f8696468e79.zip
net/tap-solaris.c: Include qemu-common.h for TFR macro
In commit a8d2532645cf5ce4 we cleaned up usage of the qemu-common.h header so that it was always included from .c files and never from other .h files. We missed adding it to net/tap-solaris.c (which previously was pulling it in via tap-int.h), which broke building on Solaris hosts. Fixes: a8d2532645cf5ce4 Reported-by: Michele Denber <denber@mindspring.com> Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Reviewed-by: Thomas Huth <thuth@redhat.com> Tested-by: Michele Denber <denber@mindspring.com> Message-Id: <20200704092317.12943-1-peter.maydell@linaro.org> Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Diffstat (limited to 'net')
-rw-r--r--net/tap-solaris.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/tap-solaris.c b/net/tap-solaris.c
index 4725d2314e..d03165c57c 100644
--- a/net/tap-solaris.c
+++ b/net/tap-solaris.c
@@ -27,6 +27,7 @@
#include "tap_int.h"
#include "qemu/ctype.h"
#include "qemu/cutils.h"
+#include "qemu-common.h"
#include <sys/ethernet.h>
#include <sys/sockio.h>