summaryrefslogtreecommitdiff
path: root/lib/libcrypto/camellia
diff options
context:
space:
mode:
authorRobert Nagy <robert@cvs.openbsd.org>2023-09-04 08:36:49 +0000
committerRobert Nagy <robert@cvs.openbsd.org>2023-09-04 08:36:49 +0000
commitfafd829e114114b040adc299ac96d428e21970ef (patch)
tree6b7c2e8ca660cee9d40c5d44c6854305d8a20171 /lib/libcrypto/camellia
parent322a0169604b0396d206ce376b8d57129c751318 (diff)
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 'lib/libcrypto/camellia')
-rw-r--r--lib/libcrypto/camellia/cmll_ecb.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/libcrypto/camellia/cmll_ecb.c b/lib/libcrypto/camellia/cmll_ecb.c
index b47ece73796..edac99023bc 100644
--- a/lib/libcrypto/camellia/cmll_ecb.c
+++ b/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 <sys/types.h>
+
#include <openssl/camellia.h>
#include "cmll_local.h"