]> git.ipfire.org Git - thirdparty/ipxe.git/commitdiff
[efi] Mark Ip4Config.h as a non-imported header
authorMichael Brown <mcb30@ipxe.org>
Tue, 11 Nov 2025 16:12:26 +0000 (16:12 +0000)
committerMichael Brown <mcb30@ipxe.org>
Tue, 11 Nov 2025 16:12:26 +0000 (16:12 +0000)
The Ip4Config.h header has been removed from the EDK2 codebase as
obsolete.  However, we may still encounter it in the wild and so it is
useful to retain the GUID and the corresponding protocol name for
debug messages.

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/Ip4Config.h

index ff47fd2b7035a8ccd6ba1421ed20dcdf13afdea4..1a44f13a6c7b4b44e2ac896e95ded77bc7815859 100644 (file)
@@ -1,3 +1,6 @@
+#ifndef _IPXE_EFI_IP4CONFIG_H
+#define _IPXE_EFI_IP4CONFIG_H
+
 /** @file
   This file provides a definition of the EFI IPv4 Configuration
   Protocol.
@@ -176,3 +179,5 @@ struct _EFI_IP4_CONFIG_PROTOCOL {
 extern EFI_GUID  gEfiIp4ConfigProtocolGuid;
 
 #endif
+
+#endif /* _IPXE_EFI_IP4CONFIG_H */