From 14e570f5eeff631c1312b11fcc5d22230ec27aff Mon Sep 17 00:00:00 2001 From: Guus Sliepen Date: Wed, 5 Jun 2002 00:25:55 +0000 Subject: [PATCH] Use correct includes on NetBSD. --- src/netutl.c | 6 ++++-- src/route.c | 10 ++++++---- 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/src/netutl.c b/src/netutl.c index 1e08a9e..29bcfc1 100644 --- a/src/netutl.c +++ b/src/netutl.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: netutl.c,v 1.12.4.35 2002/04/19 14:06:40 guus Exp $ + $Id: netutl.c,v 1.12.4.36 2002/06/05 00:25:54 guus Exp $ */ #include "config.h" @@ -27,7 +27,9 @@ #include #include #include -#include +#ifndef HAVE_NETBSD + #include +#endif #include #include #include diff --git a/src/route.c b/src/route.c index 94c3d57..48a14ca 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.38 2002/04/19 14:06:40 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,7 +40,9 @@ #include #include #include -#include +#ifndef HAVE_NETBSD + #include +#endif #include -- 2.25.1