summaryrefslogtreecommitdiffstats
path: root/lib/libc/gen/sleep.c
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2003-06-25 21:15:04 +0000
committerderaadt <deraadt@openbsd.org>2003-06-25 21:15:04 +0000
commitb7fd35b8dfa47d8fcfd150b26105ba683b6cfdee (patch)
treedbf10512635144cffa1ebdd15feb81efa988f6af /lib/libc/gen/sleep.c
parentfix protos (diff)
downloadwireguard-openbsd-b7fd35b8dfa47d8fcfd150b26105ba683b6cfdee.tar.xz
wireguard-openbsd-b7fd35b8dfa47d8fcfd150b26105ba683b6cfdee.zip
pull in headers
Diffstat (limited to 'lib/libc/gen/sleep.c')
-rw-r--r--lib/libc/gen/sleep.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libc/gen/sleep.c b/lib/libc/gen/sleep.c
index 7e9772ae317..2610b850adf 100644
--- a/lib/libc/gen/sleep.c
+++ b/lib/libc/gen/sleep.c
@@ -28,10 +28,11 @@
*/
#if defined(LIBC_SCCS) && !defined(lint)
-static char rcsid[] = "$OpenBSD: sleep.c,v 1.8 2003/06/02 20:18:35 millert Exp $";
+static char rcsid[] = "$OpenBSD: sleep.c,v 1.9 2003/06/25 21:15:04 deraadt Exp $";
#endif /* LIBC_SCCS and not lint */
#include <sys/time.h>
+#include <unistd.h>
unsigned int
sleep(seconds)