summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2022-04-11 19:24:50 +0800
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2022-04-12 14:39:01 +0000
commit4352d115c4bd1dda7806aa5aa27a9a6f84404974 (patch)
treee13caeb00feaa8de9afebd07a84da49ccb9b0578
parent5576b17363e92ce07e9707478061d5ce38bf7d06 (diff)
downloadedk2-4352d115c4bd1dda7806aa5aa27a9a6f84404974.tar.gz
edk2-4352d115c4bd1dda7806aa5aa27a9a6f84404974.tar.bz2
edk2-4352d115c4bd1dda7806aa5aa27a9a6f84404974.zip
CryptoPkg/CrtLibSupport: add fcntl.h
Add fcntl.h header file. Will be needed by openssl 3.0. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Reviewed-by: Jiewen Yao <Jiewen.yao@intel.com>
-rw-r--r--CryptoPkg/CryptoPkg.ci.yaml1
-rw-r--r--CryptoPkg/Library/Include/fcntl.h9
2 files changed, 10 insertions, 0 deletions
diff --git a/CryptoPkg/CryptoPkg.ci.yaml b/CryptoPkg/CryptoPkg.ci.yaml
index e21fafac1e..396ca93dbe 100644
--- a/CryptoPkg/CryptoPkg.ci.yaml
+++ b/CryptoPkg/CryptoPkg.ci.yaml
@@ -36,6 +36,7 @@
"Library/Include/CrtLibSupport.h",
# This has OpenSSL interfaces that aren't UEFI spec compliant
"Library/BaseCryptLib/Hash/CryptParallelHash.h",
+ "Library/Include/fcntl.h",
# These directories contain auto-generated OpenSSL content
"Library/OpensslLib",
"Library/IntrinsicLib",
diff --git a/CryptoPkg/Library/Include/fcntl.h b/CryptoPkg/Library/Include/fcntl.h
new file mode 100644
index 0000000000..040ecfa519
--- /dev/null
+++ b/CryptoPkg/Library/Include/fcntl.h
@@ -0,0 +1,9 @@
+/** @file
+ Include file to support building the third-party cryptographic library.
+
+Copyright (c) 2010 - 2017, Intel Corporation. All rights reserved.<BR>
+SPDX-License-Identifier: BSD-2-Clause-Patent
+
+**/
+
+#include <CrtLibSupport.h>