On Mon, Jan 17, 2022 at 11:52:27AM +0100, Gerd Hoffmann wrote:
> Add fcntl.h header file.
> Will be needed by openssl 3.0.
>
> Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
> ---
> CryptoPkg/Library/Include/fcntl.h | 9 +++++++++
> 1 file changed, 9 insertions(+)
> create mode 100644 CryptoPkg/Library/Include/fcntl.h
>
> diff --git a/CryptoPkg/Library/Include/fcntl.h b/CryptoPkg/Library/Include/fcntl.h
> new file mode 100644
> index 000000000000..040ecfa5193d
> --- /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>
Hmm, CI throws codestyle errors (see below) on this one even though it
looks identical to the stdio.h next to it. Apparently stdio.h is
whitelisted somewhere but I can't find the place ...
Hints anyone?
thanks,
Gerd
------------------- cut here -----------------
ERROR -
ERROR - EFI coding style error
ERROR - *Error code: 6001
ERROR - *All include file contents should be guarded by a #ifndef statement.
ERROR - *file: //home/vsts/work/1/s/Build/.pytool/Plugin/EccCheck/CryptoPkg/Library/Include/fcntl.h
ERROR - *Line number: 1
ERROR - *
ERROR -
ERROR - EFI coding style error
ERROR - *Error code: 8004
ERROR - *Path name does not follow the rules: 1. First character should be upper case 2. Must contain lower case characters 3. No white space characters
ERROR - *file: //home/vsts/work/1/s/Build/.pytool/Plugin/EccCheck/CryptoPkg/Library/Include/fcntl.h
ERROR - *Line number: 1
ERROR - *The file path [fcntl.h] does not follow the rules
ERROR -
-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#85753): https://edk2.groups.io/g/devel/message/85753
Mute This Topic: https://groups.io/mt/88481526/1787277
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org]
-=-=-=-=-=-=-=-=-=-=-=-