summaryrefslogtreecommitdiff
path: root/lib/libc/crypt
diff options
context:
space:
mode:
authorPhilip Guenther <guenther@cvs.openbsd.org>2016-08-26 08:25:03 +0000
committerPhilip Guenther <guenther@cvs.openbsd.org>2016-08-26 08:25:03 +0000
commit4ed7dcc96db20ba302e39713cd053afe47d47064 (patch)
tree148c67f698905180299f69d2bbf48e51d5a66e8d /lib/libc/crypt
parent7381900c8893ebcce95b630e4daee3d9ba7ae9aa (diff)
Pull in <time.h> for clock_gettime()
ok deraadt@
Diffstat (limited to 'lib/libc/crypt')
-rw-r--r--lib/libc/crypt/bcrypt.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libc/crypt/bcrypt.c b/lib/libc/crypt/bcrypt.c
index 940daf233e3..82de8fa33b7 100644
--- a/lib/libc/crypt/bcrypt.c
+++ b/lib/libc/crypt/bcrypt.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: bcrypt.c,v 1.56 2016/06/26 21:04:08 tedu Exp $ */
+/* $OpenBSD: bcrypt.c,v 1.57 2016/08/26 08:25:02 guenther Exp $ */
/*
* Copyright (c) 2014 Ted Unangst <tedu@openbsd.org>
@@ -39,6 +39,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
+#include <time.h>
/* This implementation is adaptable to current computing power.
* You can have up to 2^31 rounds which should be enough for some