From: Harlan Stenn Date: Sun, 5 Mar 2006 21:26:53 +0000 (-0500) Subject: [Bug 576] Use __adjtimex if we have it and not ntp_adjtime X-Git-Tag: NTP_4_2_3~20^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=71672f364ca9042584d5b029643b3d9372cdc189;p=thirdparty%2Fntp.git [Bug 576] Use __adjtimex if we have it and not ntp_adjtime bk: 440b579d8qEFJ1Hceqh_A1eduqee3w --- diff --git a/include/ntp_machine.h b/include/ntp_machine.h index 16b272f0e..e6f815bfe 100644 --- a/include/ntp_machine.h +++ b/include/ntp_machine.h @@ -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 /*