aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Brown <mcb30@ipxe.org>2023-01-28 15:22:22 +0000
committerMichael Brown <mcb30@ipxe.org>2023-01-28 17:22:25 +0000
commit137ca5d877b97241c167710bcbd037328a0b0557 (patch)
treed88a9071cd2e8f514acb88d964bf027aaba84e0f
parent900379594ae425048debfe7de690c14ac0b878b0 (diff)
downloadipxe-137ca5d877b97241c167710bcbd037328a0b0557.zip
ipxe-137ca5d877b97241c167710bcbd037328a0b0557.tar.gz
ipxe-137ca5d877b97241c167710bcbd037328a0b0557.tar.bz2
[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 <mcb30@ipxe.org>
-rw-r--r--src/include/ipxe/efi/Protocol/ConsoleControl/ConsoleControl.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/include/ipxe/efi/Protocol/ConsoleControl/ConsoleControl.h b/src/include/ipxe/efi/Protocol/ConsoleControl/ConsoleControl.h
index 0bf5799..c96484f 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.<BR>
@@ -122,3 +125,5 @@ struct _EFI_CONSOLE_CONTROL_PROTOCOL {
extern EFI_GUID gEfiConsoleControlProtocolGuid;
#endif
+
+#endif /* _IPXE_EFI_CONSOLECONTROL_H */