From: Jiaxun Yang Date: Mon, 18 Jan 2021 06:38:00 +0000 (+0800) Subject: configure: Add sys/timex.h to probe clock_adjtime X-Git-Tag: v6.0.0-rc0~136^2~12 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=cd5d20efa919fdeb06f4f2ce32e614db07d4ca39;p=thirdparty%2Fqemu.git configure: Add sys/timex.h to probe clock_adjtime It is not a part of standard time.h. Glibc put it under time.h however musl treat it as a sys timex extension. Signed-off-by: Jiaxun Yang Reviewed-by: Thomas Huth Message-Id: <20210118063808.12471-2-jiaxun.yang@flygoat.com> Signed-off-by: Thomas Huth --- diff --git a/configure b/configure index 9f016b06b54..6f6a319c2f6 100755 --- a/configure +++ b/configure @@ -4039,6 +4039,7 @@ fi clock_adjtime=no cat > $TMPC < +#include int main(void) {