[1/3] tap: Compilation fix for Solaris

Submitted by Andreas Färber on Dec. 12, 2009, 7:10 p.m.

Details

Message ID 1260645057-19819-2-git-send-email-andreas.faerber@web.de
State New
Headers show

Commit Message

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 hide | download patch | download mbox

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>