From a58c25b65d9816a549278f1a74a9121500b14b20 Mon Sep 17 00:00:00 2001 From: paul Date: Wed, 22 Oct 2003 02:50:45 +0000 Subject: 2003-10-22 Paul Jakma * lib/zebra.h: include limits.h if its there, its a portable header and useful and not just solaris specific. net/route.h is also useful. --- lib/zebra.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/zebra.h b/lib/zebra.h index 3193b6e2..51bdc88c 100644 --- a/lib/zebra.h +++ b/lib/zebra.h @@ -75,10 +75,12 @@ typedef int socklen_t; #ifdef HAVE_RUSAGE #include #endif /* HAVE_RUSAGE */ +#ifdef HAVE_LIMITS_H +#include +#endif /* HAVE_LIMITS_H */ /* machine dependent includes */ #ifdef SUNOS_5 -#include #include #endif /* SUNOS_5 */ @@ -129,7 +131,9 @@ typedef int socklen_t; #include #endif /* HAVE_NET_IF_VAR_H */ +#ifdef HAVE_NET_ROUTE_H #include +#endif /* HAVE_NET_ROUTE_H */ #ifdef HAVE_NETLINK #include -- cgit v1.2.1