16 lines
400 B
Text
16 lines
400 B
Text
$NetBSD: patch-ab,v 1.1 2005/12/02 21:05:43 joerg Exp $
|
|
|
|
--- nstx_tuntap.c.orig 2005-11-26 14:51:37.000000000 +0000
|
|
+++ nstx_tuntap.c
|
|
@@ -21,7 +21,11 @@
|
|
#include <linux/if_tun.h>
|
|
#define TUNDEV "/dev/net/tun"
|
|
#else
|
|
+# if defined(__DragonFly__)
|
|
+# include <net/tun/if_tun.h>
|
|
+# else
|
|
# include <net/if_tun.h>
|
|
+# endif
|
|
# if __FreeBSD_version < 500000
|
|
# define TUNDEV "/dev/tun2"
|
|
# else
|