From: Harlan Stenn Date: Tue, 22 Dec 2009 08:00:22 +0000 (-0500) Subject: [Bug 1424] Fix check for rtattr (rtnetlink.h) X-Git-Tag: NTP_4_2_7P3~2^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=66493956042db1ca29f8dfec2b48291e1a46114b;p=thirdparty%2Fntp.git [Bug 1424] Fix check for rtattr (rtnetlink.h) bk: 4b307c96S1iMzj1M7S90aX2w1b39YA --- diff --git a/ChangeLog b/ChangeLog index a6e72366d..83fa2c107 100644 --- a/ChangeLog +++ b/ChangeLog @@ -3,6 +3,7 @@ * [Bug 1411] Fix status messages in refclock_oncore.c. * [Bug 1416] MAXDNAME undefined on Solaris 2.6. * [Bug 1419] ntpdate, ntpdc, sntp, ntpd ignore configure --bindir. +* [Bug 1424] Fix check for rtattr (rtnetlink.h). * [Bug 1426] scripts/VersionName needs . on the search path. * [Bug 1427] quote missing in ./build - shows up on NetBSD. * [Bug 1428] Use AC_HEADER_RESOLV to fix breaks from resolv.h diff --git a/configure.ac b/configure.ac index 9c0696508..85962d692 100644 --- a/configure.ac +++ b/configure.ac @@ -784,6 +784,7 @@ AC_CACHE_CHECK([for struct rt_msghdr], ac_cv_struct_rt_msghdr, AC_CACHE_CHECK([for struct rtattr], ac_cv_struct_rtattr, [AC_TRY_COMPILE([ +#include #include ], [struct rtattr p;], ac_cv_struct_rtattr=yes,