[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[qemu-xen staging] net/tap-solaris.c: Include qemu-common.h for TFR macro



commit 89615cfef57e04da0e5a1bd212a62f8696468e79
Author:     Peter Maydell <peter.maydell@xxxxxxxxxx>
AuthorDate: Sat Jul 4 10:23:17 2020 +0100
Commit:     Laurent Vivier <laurent@xxxxxxxxx>
CommitDate: Tue Jul 7 12:38:50 2020 +0200

    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@xxxxxxxxxxxxxx>
    Signed-off-by: Peter Maydell <peter.maydell@xxxxxxxxxx>
    Reviewed-by: Philippe Mathieu-Daudé <f4bug@xxxxxxxxx>
    Reviewed-by: Thomas Huth <thuth@xxxxxxxxxx>
    Tested-by: Michele Denber <denber@xxxxxxxxxxxxxx>
    Message-Id: <20200704092317.12943-1-peter.maydell@xxxxxxxxxx>
    Signed-off-by: Laurent Vivier <laurent@xxxxxxxxx>
---
 net/tap-solaris.c | 1 +
 1 file changed, 1 insertion(+)

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>
--
generated by git-patchbot for /home/xen/git/qemu-xen.git#staging



 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.