]> git.ipfire.org Git - thirdparty/util-linux.git/commit
logger: check for ntp_gettime() rather than for timex.h
authorKarel Zak <kzak@redhat.com>
Tue, 10 Mar 2015 10:37:45 +0000 (11:37 +0100)
committerKarel Zak <kzak@redhat.com>
Thu, 12 Mar 2015 09:21:38 +0000 (10:21 +0100)
commit14e6f4a5397de4b688315f6177d9f0ac8c8af774
treefadcb23e2554aa58661c3978389289a272729b60
parent82f658c68ca6cb67bdf7bf195b96f9664e0a3a78
logger: check for ntp_gettime() rather than for timex.h

It seems that musl libc and uClibc without UCLIBC_NTP_LEGACY
does not provide ntp_gettime and compile will fail.

References: https://github.com/karelzak/util-linux/issues/174
Signed-off-by: Karel Zak <kzak@redhat.com>
configure.ac
misc-utils/logger.c