From: Guus Sliepen Date: Sun, 15 Oct 2000 20:30:39 +0000 (+0000) Subject: Corrected #ifdefs for tun/tap support. X-Git-Tag: release-1.0pre3~84 X-Git-Url: https://git.tinc-vpn.org/git/browse?a=commitdiff_plain;h=baeac83bf465a47d46082e1de40ea14dcf1d39af;p=tinc Corrected #ifdefs for tun/tap support. --- diff --git a/src/net.c b/src/net.c index fecf7e6e..c57fc198 100644 --- a/src/net.c +++ b/src/net.c @@ -17,7 +17,7 @@ along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - $Id: net.c,v 1.35.4.37 2000/10/15 19:53:15 zarq Exp $ + $Id: net.c,v 1.35.4.38 2000/10/15 20:30:39 guus Exp $ */ #include "config.h" @@ -37,11 +37,9 @@ #include #include -/* Next two includes are for tun/tap support */ +#ifdef HAVE_TUNTAP #include - -#ifdef HAVE_LINUX_IF_TUN_H -#include +#include LINUX_IF_TUN_H #endif #include