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