From: Dave Hart Date: Tue, 5 May 2009 19:19:25 +0000 (+0000) Subject: [Bug 1176] refclock_parse.c does not compile without PPSAPI X-Git-Tag: NTP_4_2_5P172~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=556a4ffc931fa4867aa57a7e0c79fae030bec21f;p=thirdparty%2Fntp.git [Bug 1176] refclock_parse.c does not compile without PPSAPI bk: 4a00913dFN3GsBUSccH-5HbTO8v64A --- diff --git a/ChangeLog b/ChangeLog index 876e75108..5c18aaf82 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,4 @@ +* [Bug 1176] refclock_parse.c does not compile without PPSAPI (4.2.5p171) 2009/05/04 Released by Harlan Stenn * Autokey documentation cleanup from Dave Mills. * [Bug 1171] line editing libs found without headers (Solaris 11) diff --git a/ntpd/refclock_parse.c b/ntpd/refclock_parse.c index f40fc6355..b6470d651 100644 --- a/ntpd/refclock_parse.c +++ b/ntpd/refclock_parse.c @@ -3992,6 +3992,7 @@ parse_process( refclock_process_offset(parse->generic, reftime, rectime, fudge); +#ifdef HAVE_PPSAPI /* * pass PPS information on to PPS clock */ @@ -4013,6 +4014,7 @@ parse_process( parse_hardpps(parse, PARSE_HARDPPS_ENABLE); } +#endif } else { parse_hardpps(parse, PARSE_HARDPPS_DISABLE); parse->peer->flags &= ~FLAG_PPS;