summaryrefslogtreecommitdiff
path: root/security/openssh/patches/patch-aw
blob: db42bf74833dc6d0ba8a4032df5e3f17ee9db45f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
$NetBSD: patch-aw,v 1.1 2006/02/23 19:02:50 joerg Exp $

--- openbsd-compat/port-tun.c.orig	2006-02-23 18:42:44.000000000 +0000
+++ openbsd-compat/port-tun.c
@@ -93,7 +93,11 @@ sys_tun_open(int tun, int mode)
 #ifdef SSH_TUN_FREEBSD
 #include <sys/socket.h>
 #include <net/if.h>
+#if defined(__DragonFly__)
+#include <net/tun/if_tun.h>
+#else
 #include <net/if_tun.h>
+#endif
 
 int
 sys_tun_open(int tun, int mode)