[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 7/7] net/tap-solaris.c: Include qemu-common.h for TFR macro
From: |
Laurent Vivier |
Subject: |
[PULL 7/7] net/tap-solaris.c: Include qemu-common.h for TFR macro |
Date: |
Tue, 7 Jul 2020 12:52:55 +0200 |
From: Peter Maydell <peter.maydell@linaro.org>
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 | 1 +
1 file changed, 1 insertion(+)
diff --git a/net/tap-solaris.c b/net/tap-solaris.c
index 4725d2314eef..d03165c57c9f 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>
--
2.26.2
- [PULL 0/7] Trivial branch for 5.1 patches, Laurent Vivier, 2020/07/07
- [PULL 1/7] fix the prototype of muls64/mulu64, Laurent Vivier, 2020/07/07
- [PULL 3/7] .mailmap: Update Alexander Graf email address, Laurent Vivier, 2020/07/07
- [PULL 2/7] trivial: Respect alphabetical order of .o files in Makefile.objs, Laurent Vivier, 2020/07/07
- [PULL 4/7] MAINTAINERS: Update Radoslaw Biernacki email address, Laurent Vivier, 2020/07/07
- [PULL 5/7] util/qemu-option: Document the get_opt_value() function, Laurent Vivier, 2020/07/07
- [PULL 6/7] intel_iommu: "aw-bits" error message still refers to "x-aw-bits", Laurent Vivier, 2020/07/07
- [PULL 7/7] net/tap-solaris.c: Include qemu-common.h for TFR macro,
Laurent Vivier <=
- Re: [PULL 0/7] Trivial branch for 5.1 patches, Peter Maydell, 2020/07/09