diff options
author | Jiaxun Yang <jiaxun.yang@flygoat.com> | 2021-01-18 14:38:00 +0800 |
---|---|---|
committer | Thomas Huth <thuth@redhat.com> | 2021-01-20 10:42:03 +0100 |
commit | cd5d20efa919fdeb06f4f2ce32e614db07d4ca39 (patch) | |
tree | 14961e646fd917f9c82e27f01bcc0828a1295ec1 /configure | |
parent | c0cb758eec848dcbc779bf75a26b49727218e380 (diff) |
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 <jiaxun.yang@flygoat.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Message-Id: <20210118063808.12471-2-jiaxun.yang@flygoat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -4039,6 +4039,7 @@ fi clock_adjtime=no cat > $TMPC <<EOF #include <time.h> +#include <sys/timex.h> int main(void) { |