From 4352d115c4bd1dda7806aa5aa27a9a6f84404974 Mon Sep 17 00:00:00 2001 From: Gerd Hoffmann Date: Mon, 11 Apr 2022 19:24:50 +0800 Subject: [PATCH 1/1] CryptoPkg/CrtLibSupport: add fcntl.h Add fcntl.h header file. Will be needed by openssl 3.0. Signed-off-by: Gerd Hoffmann Reviewed-by: Jiewen Yao --- CryptoPkg/CryptoPkg.ci.yaml | 1 + CryptoPkg/Library/Include/fcntl.h | 9 +++++++++ 2 files changed, 10 insertions(+) create mode 100644 CryptoPkg/Library/Include/fcntl.h 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.
+SPDX-License-Identifier: BSD-2-Clause-Patent + +**/ + +#include -- 2.39.2