summaryrefslogtreecommitdiff
path: root/src/lib/libc/crypt
diff options
context:
space:
mode:
authorguenther <>2016-08-26 08:25:02 +0000
committerguenther <>2016-08-26 08:25:02 +0000
commit10d5180a267ee5020439470692936bb3f918f5f5 (patch)
tree9ab3a520b24aa33ffa9c6977f04e388763e85cd3 /src/lib/libc/crypt
parent7d913550e2b3d855803499686353249b7b60f893 (diff)
downloadopenbsd-10d5180a267ee5020439470692936bb3f918f5f5.tar.gz
openbsd-10d5180a267ee5020439470692936bb3f918f5f5.tar.bz2
openbsd-10d5180a267ee5020439470692936bb3f918f5f5.zip
Pull in <time.h> for clock_gettime()
ok deraadt@
Diffstat (limited to 'src/lib/libc/crypt')
-rw-r--r--src/lib/libc/crypt/bcrypt.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/libc/crypt/bcrypt.c b/src/lib/libc/crypt/bcrypt.c
index 940daf233e..82de8fa33b 100644
--- a/src/lib/libc/crypt/bcrypt.c
+++ b/src/lib/libc/crypt/bcrypt.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: bcrypt.c,v 1.56 2016/06/26 21:04:08 tedu Exp $ */ 1/* $OpenBSD: bcrypt.c,v 1.57 2016/08/26 08:25:02 guenther Exp $ */
2 2
3/* 3/*
4 * Copyright (c) 2014 Ted Unangst <tedu@openbsd.org> 4 * Copyright (c) 2014 Ted Unangst <tedu@openbsd.org>
@@ -39,6 +39,7 @@
39#include <stdio.h> 39#include <stdio.h>
40#include <stdlib.h> 40#include <stdlib.h>
41#include <string.h> 41#include <string.h>
42#include <time.h>
42 43
43/* This implementation is adaptable to current computing power. 44/* This implementation is adaptable to current computing power.
44 * You can have up to 2^31 rounds which should be enough for some 45 * You can have up to 2^31 rounds which should be enough for some