]> git.proxmox.com Git - mirror_edk2.git/commitdiff
CryptoPkg/CrtLibSupport: add fcntl.h
authorGerd Hoffmann <kraxel@redhat.com>
Mon, 11 Apr 2022 11:24:50 +0000 (19:24 +0800)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Tue, 12 Apr 2022 14:39:01 +0000 (14:39 +0000)
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>
CryptoPkg/CryptoPkg.ci.yaml
CryptoPkg/Library/Include/fcntl.h [new file with mode: 0644]

index e21fafac1efe81af4496a684c21e9a06c883c2ce..396ca93dbe4994a02071aba65314228e4ecf35e2 100644 (file)
@@ -36,6 +36,7 @@
             "Library/Include/CrtLibSupport.h",\r
             # This has OpenSSL interfaces that aren't UEFI spec compliant\r
             "Library/BaseCryptLib/Hash/CryptParallelHash.h",\r
+            "Library/Include/fcntl.h",\r
             # These directories contain auto-generated OpenSSL content\r
             "Library/OpensslLib",\r
             "Library/IntrinsicLib",\r
diff --git a/CryptoPkg/Library/Include/fcntl.h b/CryptoPkg/Library/Include/fcntl.h
new file mode 100644 (file)
index 0000000..040ecfa
--- /dev/null
@@ -0,0 +1,9 @@
+/** @file\r
+  Include file to support building the third-party cryptographic library.\r
+\r
+Copyright (c) 2010 - 2017, Intel Corporation. All rights reserved.<BR>\r
+SPDX-License-Identifier: BSD-2-Clause-Patent\r
+\r
+**/\r
+\r
+#include <CrtLibSupport.h>\r