From 10fa5abf16ca091ed18d6c38fe3758284fb9b0b1 Mon Sep 17 00:00:00 2001 From: Laszlo Ersek Date: Wed, 25 May 2016 13:19:41 +0200 Subject: [PATCH] MdeModulePkg/BootLogoLib: pull GraphicsOutput protocol into class header The BootLogoUpdateProgress() function uses the EFI_GRAPHICS_OUTPUT_BLT_PIXEL type in its parameter list, but the protocol header that defines this type is not included. This breaks dependent C source files that don't otherwise include the GraphicsOutput protocol header. Supply the necessary include directive. (Similarly, BootLogoEnableLogo() uses EDKII_PLATFORM_LOGO_DISPLAY_ATTRIBUTE in its parameter list. For that however, the PlatformLogo protocol header is included already.) Cc: Feng Tian Cc: Jordan Justen Cc: Ruiyu Ni Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Laszlo Ersek Reviewed-by: Jordan Justen --- MdeModulePkg/Include/Library/BootLogoLib.h | 1 + 1 file changed, 1 insertion(+) diff --git a/MdeModulePkg/Include/Library/BootLogoLib.h b/MdeModulePkg/Include/Library/BootLogoLib.h index b39d61b7c3..55fe4b11cc 100644 --- a/MdeModulePkg/Include/Library/BootLogoLib.h +++ b/MdeModulePkg/Include/Library/BootLogoLib.h @@ -17,6 +17,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. #define _BOOT_LOGO_LIB_H_ #include +#include /** Show LOGO on all consoles. -- 2.39.2