$NetBSD: patch-ab,v 1.8 2012/06/16 14:58:36 abs Exp $

--- sim_ether.c.orig	2012-03-30 15:30:26.000000000 +0000
+++ sim_ether.c
@@ -806,6 +806,8 @@ void eth_show_dev (FILE* st, ETH_DEV* de
 #include <sys/ioctl.h> 
 #include <net/if.h> 
 #include <linux/if_tun.h> 
+#elif defined(__sun)
+#undef USE_TAP_NETWORK
 #elif defined(USE_BSDTUNTAP)
 #include <sys/types.h>
 #include <net/if_types.h>
