2013-09-26 17:14:40 +02:00

17 lines
400 B
Plaintext

$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