From 38f721ec5f8fb3943b912728968c1049330060cd Mon Sep 17 00:00:00 2001 From: robert <> Date: Mon, 4 Sep 2023 08:36:48 +0000 Subject: 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@ --- src/lib/libcrypto/camellia/cmll_ecb.c | 4 +++- src/lib/libcrypto/whrlpool/wp_dgst.c | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) (limited to 'src/lib') 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 @@ -/* $OpenBSD: cmll_ecb.c,v 1.5 2022/11/26 16:08:51 tb Exp $ */ +/* $OpenBSD: cmll_ecb.c,v 1.6 2023/09/04 08:36:48 robert Exp $ */ /* ==================================================================== * Copyright (c) 2006 The OpenSSL Project. All rights reserved. * @@ -49,6 +49,8 @@ * */ +#include + #include #include "cmll_local.h" 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 @@ -/* $OpenBSD: wp_dgst.c,v 1.5 2022/11/26 16:08:54 tb Exp $ */ +/* $OpenBSD: wp_dgst.c,v 1.6 2023/09/04 08:36:48 robert Exp $ */ /** * The Whirlpool hashing function. * @@ -52,6 +52,8 @@ * input. This is done for performance. */ +#include + #include "wp_local.h" #include #include -- cgit v1.2.3-55-g6feb