Corrected #ifdefs for tun/tap support.

This commit is contained in:
Guus Sliepen 2000-10-15 20:30:39 +00:00
parent 782171fd2c
commit baeac83bf4

View file

@ -17,7 +17,7 @@
along with this program; if not, write to the Free Software along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 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" #include "config.h"
@ -37,11 +37,9 @@
#include <syslog.h> #include <syslog.h>
#include <unistd.h> #include <unistd.h>
/* Next two includes are for tun/tap support */ #ifdef HAVE_TUNTAP
#include <net/if.h> #include <net/if.h>
#include LINUX_IF_TUN_H
#ifdef HAVE_LINUX_IF_TUN_H
#include <linux/if_tun.h>
#endif #endif
#include <utils.h> #include <utils.h>