From 31402382070c274f4b59025327e61947822c3c1a Mon Sep 17 00:00:00 2001
From: inoguchi <>
Date: Sat, 12 Sep 2020 02:45:05 +0000
Subject: Include machine/endian.h in gost2814789.c

To pick up __STRICT_ALIGNMENT define, include machine/endian.h.

No kidding... deraadt@
ok bcook@ jsing@
---
 src/lib/libcrypto/gost/gost2814789.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

(limited to 'src')

diff --git a/src/lib/libcrypto/gost/gost2814789.c b/src/lib/libcrypto/gost/gost2814789.c
index e285413ed4..f1066f2467 100644
--- a/src/lib/libcrypto/gost/gost2814789.c
+++ b/src/lib/libcrypto/gost/gost2814789.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: gost2814789.c,v 1.5 2015/09/10 15:56:25 jsing Exp $ */
+/* $OpenBSD: gost2814789.c,v 1.6 2020/09/12 02:45:05 inoguchi Exp $ */
 /*
  * Copyright (c) 2014 Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
  * Copyright (c) 2005-2006 Cryptocom LTD
@@ -49,6 +49,8 @@
  * ====================================================================
  */
 
+#include <machine/endian.h>
+
 #include <string.h>
 
 #include <openssl/opensslconf.h>
-- 
cgit v1.2.3-55-g6feb