]> git.ipfire.org Git - thirdparty/ntp.git/commitdiff
[Bug 1176] refclock_parse.c does not compile without PPSAPI
authorDave Hart <hart@ntp.org>
Tue, 5 May 2009 19:19:25 +0000 (19:19 +0000)
committerDave Hart <hart@ntp.org>
Tue, 5 May 2009 19:19:25 +0000 (19:19 +0000)
bk: 4a00913dFN3GsBUSccH-5HbTO8v64A

ChangeLog
ntpd/refclock_parse.c

index 876e7510896a9f54a54a628e0eb738f4d99c4ef9..5c18aaf828df46b00e494aed235ea4b21b39f2c9 100644 (file)
--- 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 <stenn@ntp.org>
 * Autokey documentation cleanup from Dave Mills.
 * [Bug 1171] line editing libs found without headers (Solaris 11)
index f40fc6355c6a7d69b25bb9a9dd106bc8047f2cac..b6470d65196b1a0981de20d1eb8859c2f4f7ed90 100644 (file)
@@ -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;