configure: Fix clock_gettime() detection
authorBart Van Assche <bvanassche@acm.org>
Sun, 13 Nov 2022 23:09:22 +0000 (15:09 -0800)
committerBart Van Assche <bvanassche@acm.org>
Sun, 13 Nov 2022 23:19:56 +0000 (15:19 -0800)
commit73816e1adb25ad4cdfbd4f7dbd8aa65f73581174
treebd571035ebb3b7b7d1f4f4861e0de30a919f8b26
parent2d92b09513b3c11a04541298aece35eae3dbc963
configure: Fix clock_gettime() detection

Prevent that the clock_gettime() and CLOCK_MONOTONIC tests fail as follows:

error: argument 2 null where non-null expected [-Werror=nonnull]

Signed-off-by: Bart Van Assche <bvanassche@acm.org>
configure