summaryrefslogtreecommitdiff
path: root/net/tap-solaris.c
diff options
context:
space:
mode:
authorAndreas Färber <afaerber@opensolaris.org>2009-12-12 20:10:55 +0100
committerBlue Swirl <blauwirbel@gmail.com>2009-12-13 14:28:14 +0000
commitee7139c33b4ff68a9d9545135dde1479f4f2f902 (patch)
treec8ddfd1bb806b45a4cfc29f8648f1462d2898705 /net/tap-solaris.c
parent82407d1a4035e5bfefb53ffdcb270872f813b34c (diff)
downloadqemu-ee7139c33b4ff68a9d9545135dde1479f4f2f902.zip
tap: Compilation fix for Solaris
Avoid an unresolved symbol error for TFR, which is defined in sysemu.h. Based on patch by Palle Lyckegaard. Signed-off-by: Andreas Färber <afaerber@opensolaris.org> Cc: Palle Lyckegaard <palle@lyckegaard.dk> Cc: Ben Taylor <bentaylor.solx86@gmail.com> Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'net/tap-solaris.c')
-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 e14fe36fdb..0b428617bd 100644
--- a/net/tap-solaris.c
+++ b/net/tap-solaris.c
@@ -23,6 +23,7 @@
*/
#include "net/tap.h"
+#include "sysemu.h"
#include <sys/stat.h>
#include <sys/ethernet.h>