/opt/IBM/openxlC/17.1.1/bin/ibm-clang -pthread -Wall -Wextra -Werror=implicit-function-declaration threads/mtx_timedlock.c -o threads/mtx_timedlock -D_GNU_SOURCE -D_BSD_SOURCE -D_ALL_SOURCE -D_DEFAULT_SOURCE -lm -lpthread -lrt -latomic threads/mtx_timedlock.c:19:2: error: call to undeclared function 'timespec_get'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] timespec_get(&long_timeout, TIME_UTC); ^ threads/mtx_timedlock.c:19:30: error: use of undeclared identifier 'TIME_UTC' timespec_get(&long_timeout, TIME_UTC); ^ threads/mtx_timedlock.c:30:31: error: use of undeclared identifier 'TIME_UTC' timespec_get(&short_timeout, TIME_UTC); ^ 3 errors generated.