From: Michael Brown Date: Sat, 28 Jan 2023 15:22:22 +0000 (+0000) Subject: [efi] Mark ConsoleControl.h as a non-imported header X-Git-Tag: rolling/bin~853 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=137ca5d877b97241c167710bcbd037328a0b0557;p=thirdparty%2Fipxe.git [efi] Mark ConsoleControl.h as a non-imported header The obsolete ConsoleControl.h header is no longer present in the current EDK2 codebase, but is still required for interoperability with old iMacs. Add an iPXE include guard to this file so that the EDK2 header import script will no longer attempt to import it from the EDK2 tree. Signed-off-by: Michael Brown --- diff --git a/src/include/ipxe/efi/Protocol/ConsoleControl/ConsoleControl.h b/src/include/ipxe/efi/Protocol/ConsoleControl/ConsoleControl.h index 0bf5799e6..c96484ff9 100644 --- a/src/include/ipxe/efi/Protocol/ConsoleControl/ConsoleControl.h +++ b/src/include/ipxe/efi/Protocol/ConsoleControl/ConsoleControl.h @@ -1,3 +1,6 @@ +#ifndef _IPXE_EFI_CONSOLECONTROL_H +#define _IPXE_EFI_CONSOLECONTROL_H + /*++ Copyright (c) 2004 - 2010, Intel Corporation. All rights reserved.
@@ -122,3 +125,5 @@ struct _EFI_CONSOLE_CONTROL_PROTOCOL { extern EFI_GUID gEfiConsoleControlProtocolGuid; #endif + +#endif /* _IPXE_EFI_CONSOLECONTROL_H */