summaryrefslogtreecommitdiffstats
path: root/lib/zebra.h
diff options
context:
space:
mode:
authorpaul <paul>2007-05-10 02:38:51 +0000
committerpaul <paul>2007-05-10 02:38:51 +0000
commit66afda8a04f8fe0a64a4b4a5a94348b65f561885 (patch)
treec65360d5e011591065648cb1c5d5683889968f73 /lib/zebra.h
parente352b56272789f2afe9c0ab2f066935431282389 (diff)
downloadquagga-66afda8a04f8fe0a64a4b4a5a94348b65f561885.tar.bz2
quagga-66afda8a04f8fe0a64a4b4a5a94348b65f561885.tar.xz
[autoconf] bugs 162,303,178: Fix 'present but can not be compiled' warnings
2007-05-09 Paul Jakma <paul.jakma@sun.com> * configure.ac: sys/conf.h depends on sys/param.h, at least on FBSD 6.2. (bug #363) Should check for in_pktinfo for IRDP 2006-05-27 Paul Jakma <paul.jakma@sun.com> * configure.ac: General cleanup of header and type checks, introducing an internal define, QUAGGA_INCLUDES, to build up a list of stuff to include so as to avoid 'present but cant be compiled' warnings. Misc additional checks of things missing according to autoscan. Add LIBM, for bgpd's use of libm, so as to avoid burdening LIBS, and all the binaries, with libm linkage. Remove the bad practice of using m4 changequote(), just quote the []'s in the case statements properly. This should fix bugs 162, 303 and 178. * */*.{c,h}: Update all HAVE_* to the standard autoconf namespaced HAVE_* defines. I.e. HAVE_SA_LEN -> HAVE_STRUCT_SOCKADDR_SA_LEN, * bgpd/Makefile.am: Add LIBM to bgpd's LDADD, for pow().
Diffstat (limited to 'lib/zebra.h')
-rw-r--r--lib/zebra.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/zebra.h b/lib/zebra.h
index 85537399..3c01aec3 100644
--- a/lib/zebra.h
+++ b/lib/zebra.h
@@ -312,7 +312,7 @@ typedef int socklen_t;
/* The definition of struct in_pktinfo is missing in old version of
GLIBC 2.1 (Redhat 6.1). */
-#if defined (GNU_LINUX) && ! defined (HAVE_INPKTINFO)
+#if defined (GNU_LINUX) && ! defined (HAVE_STRUCT_IN_PKTINFO)
struct in_pktinfo
{
int ipi_ifindex;