summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Hemminger <shemminger@vyatta.com>2011-09-13 17:15:51 +0400
committerDenis Ovsienko <infrastation@yandex.ru>2011-09-27 20:47:18 +0400
commitb69442d456fa6a00716c5a0684395b04f5794cd6 (patch)
tree149ba75d630f31ce4018e3b6673a23f286b08d5b
parent83d1614952faf100a0a1bacaa0a1b3f70a013c9f (diff)
configure: dismiss libutil.h
Recent versions of libc on Linux (Debian Testing) create lots of compile warnings about direct usage of libutil.h
-rwxr-xr-xconfigure.ac2
-rw-r--r--lib/zebra.h4
2 files changed, 1 insertions, 5 deletions
diff --git a/configure.ac b/configure.ac
index b3f42d54..6da71c22 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 2dc84514..4afb20eb 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 <libutil.h>
-#endif /* HAVE_LIBUTIL_H */
-
#ifdef HAVE_GLIBC_BACKTRACE
#include <execinfo.h>
#endif /* HAVE_GLIBC_BACKTRACE */