diff --git a/MdeModulePkg/Library/GraphicsLib/Graphics.c b/MdeModulePkg/Library/GraphicsLib/Graphics.c index 82c16594e8..8b8fea36f4 100644 --- a/MdeModulePkg/Library/GraphicsLib/Graphics.c +++ b/MdeModulePkg/Library/GraphicsLib/Graphics.c @@ -35,7 +35,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. #include #include #include -#include +#include #include EFI_GRAPHICS_OUTPUT_BLT_PIXEL mEfiColors[16] = { @@ -111,7 +111,7 @@ GetGraphicsBitMapFromFVEx ( OUT UINTN *ImageSize ) { - return PiLibGetSectionFromAnyFv ( + return GetSectionFromAnyFv ( FileNameGuid, EFI_SECTION_RAW, 0, diff --git a/MdeModulePkg/Library/GraphicsLib/GraphicsLib.inf b/MdeModulePkg/Library/GraphicsLib/GraphicsLib.inf index c9e6f8a8e4..0288b8490d 100644 --- a/MdeModulePkg/Library/GraphicsLib/GraphicsLib.inf +++ b/MdeModulePkg/Library/GraphicsLib/GraphicsLib.inf @@ -46,7 +46,7 @@ BaseLib PrintLib DebugLib - DxePiLib + DxeServicesLib BaseMemoryLib PcdLib