summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog3
-rw-r--r--openbsd-compat/port-tun.c1
2 files changed, 3 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index c38fd0ec..16114353 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -5,6 +5,7 @@
limited to IPv4 tunnels only, and most versions don't support the
tap(4) device at all.
- (djm) [configure.ac] Fix linux/if_tun.h test
+ - (djm) [openbsd-compat/port-tun.c] Linux needs linux/if.h too
20051229
- (djm) OpenBSD CVS Sync
@@ -3586,4 +3587,4 @@
- (djm) Trim deprecated options from INSTALL. Mention UsePAM
- (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu
-$Id: ChangeLog,v 1.4061 2006/01/01 10:03:30 djm Exp $
+$Id: ChangeLog,v 1.4062 2006/01/01 10:15:50 djm Exp $
diff --git a/openbsd-compat/port-tun.c b/openbsd-compat/port-tun.c
index 00a0442b..31921615 100644
--- a/openbsd-compat/port-tun.c
+++ b/openbsd-compat/port-tun.c
@@ -35,6 +35,7 @@
*/
#if defined(SSH_TUN_LINUX)
+#include <linux/if.h>
#include <linux/if_tun.h>
int