Skip to content

Commit cd5d20e

Browse files
FlyGoathuth
authored andcommitted
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 <[email protected]> Reviewed-by: Thomas Huth <[email protected]> Message-Id: <[email protected]> Signed-off-by: Thomas Huth <[email protected]>
1 parent c0cb758 commit cd5d20e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

configure

+1
Original file line numberDiff line numberDiff line change
@@ -4039,6 +4039,7 @@ fi
40394039
clock_adjtime=no
40404040
cat > $TMPC <<EOF
40414041
#include <time.h>
4042+
#include <sys/timex.h>
40424043
40434044
int main(void)
40444045
{

0 commit comments

Comments
 (0)