From: Harlan Stenn Date: Sat, 21 Apr 2001 05:52:56 +0000 (-0000) Subject: ChangeLog, aclocal.m4, configure.in, ntp_config.c, ntpdate.c, ntp-genkeys.c: X-Git-Tag: NTP_4_0_99_M~59 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a683fc18111fa82e99052805eda474f8f5ad1b5b;p=thirdparty%2Fntp.git ChangeLog, aclocal.m4, configure.in, ntp_config.c, ntpdate.c, ntp-genkeys.c: * util/ntp-genkeys.c: * ntpdate/ntpdate.c: * ntpd/ntp_config.c: Netinfo header reorder. From: Jack Bryans bk: 3ae12038k4mWtW2xGC_aXoomeKzpRg --- diff --git a/ChangeLog b/ChangeLog index 030bf253ab..0b66e2cb55 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,10 @@ 2001-04-21 Harlan Stenn + * util/ntp-genkeys.c: + * ntpdate/ntpdate.c: + * ntpd/ntp_config.c: Netinfo header reorder. + From: Jack Bryans + * configure.in: timespec can be found by looking in goofy places under SunOS. diff --git a/configure.in b/configure.in index 2ffaf55375..0420c918c8 100644 --- a/configure.in +++ b/configure.in @@ -177,7 +177,7 @@ case "$target" in AC_CHECK_LIB(advapi32, main) ;; esac -AC_CHECK_LIB(elf, nlist) +AC_CHECK_LIB(elf, nlist) dnl Only needed for tickadj... dnl AC_CHECK_LIB(kvm, main, , , -lelf) AC_CHECK_LIB(kvm, main) dnl We already know about -lelf here... AC_CHECK_LIB(ld, nlist) diff --git a/ntpd/ntp_config.c b/ntpd/ntp_config.c index dbc0b79513..6c668f9b8d 100644 --- a/ntpd/ntp_config.c +++ b/ntpd/ntp_config.c @@ -5,6 +5,10 @@ # include #endif +#ifdef HAVE_NETINFO +# include +#endif + #include "ntpd.h" #include "ntp_io.h" #include "ntp_unixtime.h" @@ -31,10 +35,6 @@ # endif #endif /* VMS */ -#ifdef HAVE_NETINFO -# include -#endif - #ifdef SYS_WINNT # include extern HANDLE ResolverThreadHandle; diff --git a/ntpdate/ntpdate.c b/ntpdate/ntpdate.c index c8f6024a7c..43813684c7 100644 --- a/ntpdate/ntpdate.c +++ b/ntpdate/ntpdate.c @@ -6,6 +6,10 @@ # include #endif +#ifdef HAVE_NETINFO +#include +#endif + #include "ntp_fp.h" #include "ntp.h" #include "ntp_io.h" @@ -48,10 +52,6 @@ struct timeval timeout = {0,0}; struct timeval timeout = {60,0}; #endif -#ifdef HAVE_NETINFO -#include -#endif - #include "recvbuff.h" #ifdef SYS_WINNT diff --git a/util/ntp-genkeys.c b/util/ntp-genkeys.c index df99373b07..03e8bde75d 100644 --- a/util/ntp-genkeys.c +++ b/util/ntp-genkeys.c @@ -6,6 +6,10 @@ # include #endif +#ifdef HAVE_NETINFO +#include +#endif + #include "ntpd.h" #include "ntp_stdlib.h" #include "ntp_string.h" @@ -19,10 +23,6 @@ #include /* PATH_MAX */ #include -#ifdef HAVE_NETINFO -#include -#endif - #ifdef PUBKEY # include "ntp_crypto.h" #endif