From: Stephen Hemminger Date: Tue, 13 Sep 2011 13:15:51 +0000 (+0400) Subject: configure: dismiss libutil.h X-Git-Tag: frr-2.0-rc1~2051 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=b69442d456fa6a00716c5a0684395b04f5794cd6;p=mirror%2Ffrr.git configure: dismiss libutil.h Recent versions of libc on Linux (Debian Testing) create lots of compile warnings about direct usage of libutil.h --- diff --git a/configure.ac b/configure.ac index b3f42d54fb..6da71c220e 100755 --- a/configure.ac +++ b/configure.ac @@ -395,7 +395,7 @@ dnl Check other header files. dnl ------------------------- AC_CHECK_HEADERS([stropts.h sys/ksym.h sys/times.h sys/select.h \ sys/types.h linux/version.h netdb.h asm/types.h \ - sys/param.h limits.h signal.h libutil.h \ + sys/param.h limits.h signal.h \ sys/socket.h netinet/in.h time.h sys/time.h]) dnl Utility macro to avoid retyping includes all the time diff --git a/lib/zebra.h b/lib/zebra.h index 2dc8451429..4afb20eb09 100644 --- a/lib/zebra.h +++ b/lib/zebra.h @@ -237,10 +237,6 @@ typedef int socklen_t; #define UINT32_MAX (4294967295U) #endif -#ifdef HAVE_LIBUTIL_H -#include -#endif /* HAVE_LIBUTIL_H */ - #ifdef HAVE_GLIBC_BACKTRACE #include #endif /* HAVE_GLIBC_BACKTRACE */