summaryrefslogtreecommitdiffstats
path: root/openbsd-compat
diff options
context:
space:
mode:
Diffstat (limited to 'openbsd-compat')
-rw-r--r--openbsd-compat/port-tun.c1
-rw-r--r--openbsd-compat/port-tun.h2
2 files changed, 3 insertions, 0 deletions
diff --git a/openbsd-compat/port-tun.c b/openbsd-compat/port-tun.c
index d2ea0387..3e73d8c0 100644
--- a/openbsd-compat/port-tun.c
+++ b/openbsd-compat/port-tun.c
@@ -29,6 +29,7 @@
#include "log.h"
#include "misc.h"
#include "buffer.h"
+#include "channels.h"
/*
* This is the portable version of the SSH tunnel forwarding, it
diff --git a/openbsd-compat/port-tun.h b/openbsd-compat/port-tun.h
index 9f7a9861..c53df01f 100644
--- a/openbsd-compat/port-tun.h
+++ b/openbsd-compat/port-tun.h
@@ -17,6 +17,8 @@
#ifndef _PORT_TUN_H
#define _PORT_TUN_H
+struct Channel;
+
#if defined(SSH_TUN_LINUX) || defined(SSH_TUN_FREEBSD)
# define CUSTOM_SYS_TUN_OPEN
int sys_tun_open(int, int);