--- eboxy/eboxy/basewidgets/utils.cpp 2003-11-06 23:23:54.000000000 +1300 +++ eboxy/eboxy/basewidgets/utils.cpp 2004-06-11 22:03:47.743556272 +1200 @@ -293,10 +293,7 @@ } void delayms(unsigned int milliseconds) { - struct timespec ts; - ts.tv_sec = 0; - ts.tv_nsec = milliseconds * 1000000; // 1/2 second - nanosleep(&ts, NULL); + usleep(milliseconds * 1000); } int strtoint(const std::string &str) {