]> git.proxmox.com Git - mirror_qemu.git/commitdiff
net/tap-solaris.c: Include qemu-common.h for TFR macro
authorPeter Maydell <peter.maydell@linaro.org>
Sat, 4 Jul 2020 09:23:17 +0000 (10:23 +0100)
committerLaurent Vivier <laurent@vivier.eu>
Tue, 7 Jul 2020 10:38:50 +0000 (12:38 +0200)
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>
net/tap-solaris.c

index 4725d2314eef709f2156300a7bb7973144524301..d03165c57c9fa6f3e5cec9a238ab7d81970a2e75 100644 (file)
@@ -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>