From 6ef9e47fe6fac4c5fbc1016c28795f0504e01ad1 Mon Sep 17 00:00:00 2001 From: zhoushuiqing Date: Thu, 10 Aug 2023 08:52:48 +0000 Subject: [PATCH] fix secgear build error Signed-off-by: zhoushuiqing --- 0001-fix-secgear-build-error.patch | 31 ++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 0001-fix-secgear-build-error.patch diff --git a/0001-fix-secgear-build-error.patch b/0001-fix-secgear-build-error.patch new file mode 100644 index 0000000..ff1e64c --- /dev/null +++ b/0001-fix-secgear-build-error.patch @@ -0,0 +1,31 @@ +From 266e1366a71c0e2cd3c96a747508fbd42c446b13 Mon Sep 17 00:00:00 2001 +From: zhoushuiqing +Date: Thu, 10 Aug 2023 15:21:14 +0800 +Subject: [PATCH] fix secgear build error + +--- + openssl_source/openssl-1.1.1t/include/openssl/bio.h | 8 ++++++++ + 1 file changed, 8 insertions(+) + +diff --git a/openssl_source/openssl-1.1.1t/include/openssl/bio.h b/openssl_source/openssl-1.1.1t/include/openssl/bio.h +index ae559a5..514e107 100644 +--- a/openssl_source/openssl-1.1.1t/include/openssl/bio.h ++++ b/openssl_source/openssl-1.1.1t/include/openssl/bio.h +@@ -14,6 +14,14 @@ + + # ifndef OPENSSL_NO_STDIO + # include ++ ++#ifndef __FILE_defined ++#define __FILE_defined 1 ++struct _IO_FILE; ++/* The opaque type of streams. This is the definition used elsewhere. */ ++typedef struct _IO_FILE FILE; ++#endif ++ + # endif + # include + +-- +2.33.0 +