summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorklu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524>2008-11-05 05:08:48 +0000
committerklu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524>2008-11-05 05:08:48 +0000
commit347cacceeff77048b63a5a7a1308ff3bab358c78 (patch)
treee077320d19db43bb6f1beeab44bce31cb4406de9
parente4ff9017f8ac3507b2dc11484ab8c580456c83ae (diff)
downloadedk2-platforms-347cacceeff77048b63a5a7a1308ff3bab358c78.tar.xz
Remove over specific protocol for library DxeIpIoLib
add missing protocol header file for DxeNetLib git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6390 6f19259b-4bc3-4df7-8a09-765794883524
-rw-r--r--MdeModulePkg/Library/DxeIpIoLib/DxeIpIoLib.inf4
-rw-r--r--MdeModulePkg/Library/DxeNetLib/DxeNetLib.c1
2 files changed, 1 insertions, 4 deletions
diff --git a/MdeModulePkg/Library/DxeIpIoLib/DxeIpIoLib.inf b/MdeModulePkg/Library/DxeIpIoLib/DxeIpIoLib.inf
index c844a84100..3ca1be3452 100644
--- a/MdeModulePkg/Library/DxeIpIoLib/DxeIpIoLib.inf
+++ b/MdeModulePkg/Library/DxeIpIoLib/DxeIpIoLib.inf
@@ -47,7 +47,3 @@
UefiBootServicesTableLib
MemoryAllocationLib
BaseMemoryLib
-
-[Protocols]
- gEfiIp4ProtocolGuid # PROTOCOL ALWAYS_CONSUMED
- gEfiIp4ServiceBindingProtocolGuid # PROTOCOL ALWAYS_CONSUMED
diff --git a/MdeModulePkg/Library/DxeNetLib/DxeNetLib.c b/MdeModulePkg/Library/DxeNetLib/DxeNetLib.c
index 58e3541a2d..996dc5f800 100644
--- a/MdeModulePkg/Library/DxeNetLib/DxeNetLib.c
+++ b/MdeModulePkg/Library/DxeNetLib/DxeNetLib.c
@@ -27,6 +27,7 @@ Abstract:
#include <Protocol/NicIp4Config.h>
#include <Protocol/ComponentName.h>
#include <Protocol/ComponentName2.h>
+#include <Protocol/Ip4.h>
#include <Library/NetLib.h>
#include <Library/BaseLib.h>