blob: 65cccd97809a51e3e4e0429f6e57300510a0f957 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
$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
|