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-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d556a3ecfd6df29a1d9e89177ad4523f1bf9e9dd;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 16b272f0e3..e6f815bfef 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 /*