Use -lrt for clock_gettime