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

