]> git.ipfire.org Git - thirdparty/ipxe.git/commitdiff
[efi] Mark ConsoleControl.h as a non-imported header
authorMichael Brown <mcb30@ipxe.org>
Sat, 28 Jan 2023 15:22:22 +0000 (15:22 +0000)
committerMichael Brown <mcb30@ipxe.org>
Sat, 28 Jan 2023 17:22:25 +0000 (17:22 +0000)
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 <mcb30@ipxe.org>
src/include/ipxe/efi/Protocol/ConsoleControl/ConsoleControl.h

index 0bf5799e64e06e8921eb92f540d806202d509697..c96484ff9da68930ab1d85416bf7b938b408eaf8 100644 (file)
@@ -1,3 +1,6 @@
+#ifndef _IPXE_EFI_CONSOLECONTROL_H
+#define _IPXE_EFI_CONSOLECONTROL_H
+
 /*++
 
 Copyright (c) 2004 - 2010, Intel Corporation. All rights reserved.<BR>
@@ -122,3 +125,5 @@ struct _EFI_CONSOLE_CONTROL_PROTOCOL {
 extern EFI_GUID gEfiConsoleControlProtocolGuid;
 
 #endif
+
+#endif /* _IPXE_EFI_CONSOLECONTROL_H */