tap: Compilation fix for Solaris
authorAndreas Färber <afaerber@opensolaris.org>
Sat, 12 Dec 2009 19:10:55 +0000 (20:10 +0100)
committerBlue Swirl <blauwirbel@gmail.com>
Sun, 13 Dec 2009 14:28:14 +0000 (14:28 +0000)
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>
net/tap-solaris.c

index e14fe36..0b42861 100644 (file)
@@ -23,6 +23,7 @@
  */
 
 #include "net/tap.h"
+#include "sysemu.h"
 
 #include <sys/stat.h>
 #include <sys/ethernet.h>