diff options
-rw-r--r-- | lib/libc/gen/sleep.c | 3 | ||||
-rw-r--r-- | lib/libc/gen/usleep.c | 4 |
2 files changed, 2 insertions, 5 deletions
diff --git a/lib/libc/gen/sleep.c b/lib/libc/gen/sleep.c index 5b96642..f7f7759 100644 --- a/lib/libc/gen/sleep.c +++ b/lib/libc/gen/sleep.c @@ -35,8 +35,7 @@ static char sccsid[] = "@(#)sleep.c 8.1 (Berkeley) 6/4/93"; #endif /* LIBC_SCCS and not lint */ -#include <sys/time.h> -#include <signal.h> +#include <time.h> #include <unistd.h> unsigned int diff --git a/lib/libc/gen/usleep.c b/lib/libc/gen/usleep.c index 025957b..2ecbac2 100644 --- a/lib/libc/gen/usleep.c +++ b/lib/libc/gen/usleep.c @@ -35,9 +35,7 @@ static char sccsid[] = "@(#)usleep.c 8.1 (Berkeley) 6/4/93"; #endif /* LIBC_SCCS and not lint */ -#include <errno.h> -#include <sys/time.h> -#include <signal.h> +#include <time.h> #include <unistd.h> void |