Add unistd.h to silence the warning: implicit declaration of function 'usleep' is invalid in C99