Patchwork [1/3] tap: Compilation fix for Solaris

login
register
mail settings
Submitter Andreas Färber
Date Dec. 12, 2009, 7:10 p.m.
Message ID <1260645057-19819-2-git-send-email-andreas.faerber@web.de>
Download mbox | patch
Permalink /patch/40988/
State New
Headers show

Comments

Andreas Färber - Dec. 12, 2009, 7:10 p.m.
From: Andreas Färber <afaerber@opensolaris.org>

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>
---
 net/tap-solaris.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

Patch

diff --git a/net/tap-solaris.c b/net/tap-solaris.c
index e14fe36..0b42861 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>