X-Git-Url: https://www.tinc-vpn.org/git/browse?a=blobdiff_plain;f=src%2Froute.c;h=48a14ca80f2893ac304a613b4fd338b6557e1953;hb=d333fca4d611b85dd922ddf35bd9eddcb8095c85;hp=dcf43e41e712c5a845a3f6727fda456ca0ec60d9;hpb=5c2d74de86d1acb3774a20357ad815d000f8a7f6;p=tinc diff --git a/src/route.c b/src/route.c index dcf43e41..48a14ca8 100644 --- a/src/route.c +++ b/src/route.c @@ -17,17 +17,17 @@ along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - $Id: route.c,v 1.1.2.37 2002/03/19 00:08:23 guus Exp $ + $Id: route.c,v 1.1.2.39 2002/06/05 00:25:55 guus Exp $ */ #include "config.h" -#if defined(HAVE_FREEBSD) || defined(HAVE_OPENBSD) +#if defined(HAVE_FREEBSD) || defined(HAVE_OPENBSD) || defined(HAVE_NETBSD) #include #endif #include #include -#if defined(HAVE_SOLARIS) || defined(HAVE_OPENBSD) +#if defined(HAVE_SOLARIS) || defined(HAVE_OPENBSD) || defined(HAVE_NETBSD) #include #define ETHER_ADDR_LEN 6 #else @@ -40,6 +40,9 @@ #include #include #include +#ifndef HAVE_NETBSD + #include +#endif #include