/opt/IBM/openxlC/17.1.1/bin/ibm-clang -pthread -Wall -Wextra -Werror=implicit-function-declaration time/timespec_get.c -o time/timespec_get -D_GNU_SOURCE -D_BSD_SOURCE -D_ALL_SOURCE -D_DEFAULT_SOURCE -lm -lpthread -lrt -latomic time/timespec_get.c:10:15: error: call to undeclared function 'timespec_get'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] int result = timespec_get(&ts, TIME_UTC); ^ time/timespec_get.c:10:33: error: use of undeclared identifier 'TIME_UTC' int result = timespec_get(&ts, TIME_UTC); ^ time/timespec_get.c:13:17: error: use of undeclared identifier 'TIME_UTC' if ( result != TIME_UTC ) ^ 3 errors generated.