diff options
author | 2016-08-26 08:25:02 +0000 | |
---|---|---|
committer | 2016-08-26 08:25:02 +0000 | |
commit | 0ccb1e69d6e65b1b94a1d0691fe592633b323548 (patch) | |
tree | 1bcff8cff31ec5867620fcb999b421b890ef07f8 /lib/libc/crypt/bcrypt.c | |
parent | The *_HEAD_INITIALIZER() macros are documented as taking the struct, (diff) | |
download | wireguard-openbsd-0ccb1e69d6e65b1b94a1d0691fe592633b323548.tar.xz wireguard-openbsd-0ccb1e69d6e65b1b94a1d0691fe592633b323548.zip |
Pull in <time.h> for clock_gettime()
ok deraadt@
Diffstat (limited to 'lib/libc/crypt/bcrypt.c')
-rw-r--r-- | lib/libc/crypt/bcrypt.c | 3 |
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 |