diff options
| author | guenther <> | 2016-08-26 08:25:02 +0000 |
|---|---|---|
| committer | guenther <> | 2016-08-26 08:25:02 +0000 |
| commit | ea152cc7a0da6c58c7e582039cdd13fa86397bbc (patch) | |
| tree | 9ab3a520b24aa33ffa9c6977f04e388763e85cd3 /src | |
| parent | 2cdc0261c6df2cfda44495452823d09b2023f4cd (diff) | |
| download | openbsd-ea152cc7a0da6c58c7e582039cdd13fa86397bbc.tar.gz openbsd-ea152cc7a0da6c58c7e582039cdd13fa86397bbc.tar.bz2 openbsd-ea152cc7a0da6c58c7e582039cdd13fa86397bbc.zip | |
Pull in <time.h> for clock_gettime()
ok deraadt@
Diffstat (limited to 'src')
| -rw-r--r-- | src/lib/libc/crypt/bcrypt.c | 3 |
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 |
