diff --git a/qw/source/cl_main.c b/qw/source/cl_main.c index f55a846df..336095608 100644 --- a/qw/source/cl_main.c +++ b/qw/source/cl_main.c @@ -45,9 +45,6 @@ static const char rcsid[] = #ifdef HAVE_NETINET_IN_H # include #endif -#ifdef HAVE_UNISTD_H -# include -#endif #ifdef HAVE_WINSOCK_H # include #endif @@ -1462,10 +1459,6 @@ Host_Frame (float time) // decide the simulation time if ((sleeptime = Host_SimulationTime (time)) != 0) { -#ifdef HAVE_USLEEP - if (sleeptime > 0.002) // minimum sleep time - usleep ((unsigned long)(sleeptime * 1000000 / 2)); -#endif return; // framerate is too high }