]> git.proxmox.com Git - mirror_edk2.git/commitdiff
MdePkg/HiiImage.h: Include GraphicsOutput.h
authorRuiyu Ni <ruiyu.ni@intel.com>
Mon, 26 Sep 2016 07:39:54 +0000 (15:39 +0800)
committerRuiyu Ni <ruiyu.ni@intel.com>
Wed, 28 Sep 2016 08:21:51 +0000 (16:21 +0800)
HiiImage.h uses EFI_GRAPHICS_OUTPUT_BLT_PIXEL which is defined in
GraphicsOutput.h. Include GraphicsOutput.h to avoid build failure
from consumer of HiiImage protocol.

Contributed-under: TianoCore Contribution Agreement 1.0
Reviewed-by: Liming Gao <liming.gao@intel.com>
Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com>
MdePkg/Include/Protocol/HiiImage.h

index 3e1ea99cfc2a1d7ca89c15f12f97bd643dbfa448..1d42bfa71e4c97db47583b123ba485149c0d0f57 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   The file provides services to access to images in the images database.\r
   \r
-  Copyright (c) 2006 - 2008, Intel Corporation. All rights reserved.<BR>\r
+  Copyright (c) 2006 - 2016, Intel Corporation. All rights reserved.<BR>\r
   This program and the accompanying materials                          \r
   are licensed and made available under the terms and conditions of the BSD License         \r
   which accompanies this distribution.  The full text of the license may be found at        \r
@@ -15,6 +15,8 @@
 #ifndef __HII_IMAGE_H__\r
 #define __HII_IMAGE_H__\r
 \r
+#include <Protocol/GraphicsOutput.h>\r
+\r
 #define EFI_HII_IMAGE_PROTOCOL_GUID \\r
   { 0x31a6406a, 0x6bdf, 0x4e46, { 0xb2, 0xa2, 0xeb, 0xaa, 0x89, 0xc4, 0x9, 0x20 } }\r
 \r