diff options
| author | robert <> | 2023-09-04 08:36:48 +0000 |
|---|---|---|
| committer | robert <> | 2023-09-04 08:36:48 +0000 |
| commit | 89698aee11dc52423fd8cc2cd5dcc120388ded54 (patch) | |
| tree | 53a4c491d0919c050972208a720bde39f9eae98d /src | |
| parent | 4b210b7655b0a5564a24d107204d8fd02d25b575 (diff) | |
| download | openbsd-89698aee11dc52423fd8cc2cd5dcc120388ded54.tar.gz openbsd-89698aee11dc52423fd8cc2cd5dcc120388ded54.tar.bz2 openbsd-89698aee11dc52423fd8cc2cd5dcc120388ded54.zip | |
unbreak build with llvm-16 by including sys/types.h for __BEGIN_HIDDEN_DECLS
/usr/src/lib/libcrypto/whrlpool/wp_local.h:5:1: error: unknown type name '__BEGIN_HIDDEN_DECLS'
ok tb@
Diffstat (limited to 'src')
| -rw-r--r-- | src/lib/libcrypto/camellia/cmll_ecb.c | 4 | ||||
| -rw-r--r-- | src/lib/libcrypto/whrlpool/wp_dgst.c | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/src/lib/libcrypto/camellia/cmll_ecb.c b/src/lib/libcrypto/camellia/cmll_ecb.c index b47ece7379..edac99023b 100644 --- a/src/lib/libcrypto/camellia/cmll_ecb.c +++ b/src/lib/libcrypto/camellia/cmll_ecb.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: cmll_ecb.c,v 1.5 2022/11/26 16:08:51 tb Exp $ */ | 1 | /* $OpenBSD: cmll_ecb.c,v 1.6 2023/09/04 08:36:48 robert Exp $ */ |
| 2 | /* ==================================================================== | 2 | /* ==================================================================== |
| 3 | * Copyright (c) 2006 The OpenSSL Project. All rights reserved. | 3 | * Copyright (c) 2006 The OpenSSL Project. All rights reserved. |
| 4 | * | 4 | * |
| @@ -49,6 +49,8 @@ | |||
| 49 | * | 49 | * |
| 50 | */ | 50 | */ |
| 51 | 51 | ||
| 52 | #include <sys/types.h> | ||
| 53 | |||
| 52 | #include <openssl/camellia.h> | 54 | #include <openssl/camellia.h> |
| 53 | #include "cmll_local.h" | 55 | #include "cmll_local.h" |
| 54 | 56 | ||
diff --git a/src/lib/libcrypto/whrlpool/wp_dgst.c b/src/lib/libcrypto/whrlpool/wp_dgst.c index fd074c181c..282679e7d1 100644 --- a/src/lib/libcrypto/whrlpool/wp_dgst.c +++ b/src/lib/libcrypto/whrlpool/wp_dgst.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: wp_dgst.c,v 1.5 2022/11/26 16:08:54 tb Exp $ */ | 1 | /* $OpenBSD: wp_dgst.c,v 1.6 2023/09/04 08:36:48 robert Exp $ */ |
| 2 | /** | 2 | /** |
| 3 | * The Whirlpool hashing function. | 3 | * The Whirlpool hashing function. |
| 4 | * | 4 | * |
| @@ -52,6 +52,8 @@ | |||
| 52 | * input. This is done for performance. | 52 | * input. This is done for performance. |
| 53 | */ | 53 | */ |
| 54 | 54 | ||
| 55 | #include <sys/types.h> | ||
| 56 | |||
| 55 | #include "wp_local.h" | 57 | #include "wp_local.h" |
| 56 | #include <openssl/crypto.h> | 58 | #include <openssl/crypto.h> |
| 57 | #include <string.h> | 59 | #include <string.h> |
