summaryrefslogtreecommitdiff
path: root/openbsd-compat
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2006-08-05 14:07:20 +1000
committerDamien Miller <djm@mindrot.org>2006-08-05 14:07:20 +1000
commit75bb664458d5a825824607841819b9a40d9bfdb5 (patch)
tree66487433e1f482f9ff98977a60fb984900d07671 /openbsd-compat
parentd04db59ad929d289c2dcaa466989659bbc449f6b (diff)
- (djm) [auth-pam.c auth-shadow.c auth2-none.c cleanup.c sshd.c]
[openbsd-compat/port-tun.c openbsd-compat/port-tun.h] Sprinkle more includes for Linux in
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 d2ea03874..3e73d8c0e 100644
--- a/openbsd-compat/port-tun.c
+++ b/openbsd-compat/port-tun.c
@@ -29,6 +29,7 @@
29#include "log.h" 29#include "log.h"
30#include "misc.h" 30#include "misc.h"
31#include "buffer.h" 31#include "buffer.h"
32#include "channels.h"
32 33
33/* 34/*
34 * This is the portable version of the SSH tunnel forwarding, it 35 * 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 9f7a98614..c53df01fc 100644
--- a/openbsd-compat/port-tun.h
+++ b/openbsd-compat/port-tun.h
@@ -17,6 +17,8 @@
17#ifndef _PORT_TUN_H 17#ifndef _PORT_TUN_H
18#define _PORT_TUN_H 18#define _PORT_TUN_H
19 19
20struct Channel;
21
20#if defined(SSH_TUN_LINUX) || defined(SSH_TUN_FREEBSD) 22#if defined(SSH_TUN_LINUX) || defined(SSH_TUN_FREEBSD)
21# define CUSTOM_SYS_TUN_OPEN 23# define CUSTOM_SYS_TUN_OPEN
22int sys_tun_open(int, int); 24int sys_tun_open(int, int);