remove timeval and unistd.h