]> git.ipfire.org Git - thirdparty/ntp.git/commitdiff
[Bug 576] Use __adjtimex if we have it and not ntp_adjtime
authorHarlan Stenn <stenn@ntp.org>
Sun, 5 Mar 2006 21:26:53 +0000 (16:26 -0500)
committerHarlan Stenn <stenn@ntp.org>
Sun, 5 Mar 2006 21:26:53 +0000 (16:26 -0500)
bk: 440b579d8qEFJ1Hceqh_A1eduqee3w

include/ntp_machine.h

index 16b272f0e38034e328f977bbd8846296e6e3af80..e6f815bfefe6308f42af378009c05e3502a6dd23 100644 (file)
@@ -94,6 +94,10 @@ MISC
 #endif /* not __STDC__ and not HAVE_PROTOTYPES */
 #endif /* P */
 
+#if !defined(HAVE_NTP_ADJTIME) && defined(HAVE___ADJTIMEX)
+# define ntp_adjtime __adjtimex
+#endif
+
 #if 0
 
 /*