fix secgear build error

Signed-off-by: zhoushuiqing <zhoushuiqing2@huawei.com>
This commit is contained in:
zhoushuiqing 2023-08-10 08:52:48 +00:00 committed by Gitee
parent 53bb4b8a60
commit 6ef9e47fe6
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -0,0 +1,31 @@
From 266e1366a71c0e2cd3c96a747508fbd42c446b13 Mon Sep 17 00:00:00 2001
From: zhoushuiqing <zhoushuiqing2@huawei.com>
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 <stdio.h>
+
+#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 <stdarg.h>
--
2.33.0