diff options
author | Stephen Hemminger <shemminger@vyatta.com> | 2011-09-13 17:15:51 +0400 |
---|---|---|
committer | Denis Ovsienko <infrastation@yandex.ru> | 2011-09-25 18:14:23 +0400 |
commit | 3f0d3a1f9c7b7f751473d9293ba2272a28e2a8f2 (patch) | |
tree | f4433dac67dcaeeaf8a3cc3689c146413fef08f7 | |
parent | b38639ca49e2d0348bdc774f987a8f2f9d2ede74 (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-x | configure.ac | 2 | ||||
-rw-r--r-- | lib/zebra.h | 4 |
2 files changed, 1 insertions, 5 deletions
diff --git a/configure.ac b/configure.ac index adcd8d2d..75f99a64 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 6d19910c..c4c69d3d 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 */ |