[c] fixed warning: implicit declaration of function clock_gettime and usleep