From: qwang12 Date: Tue, 10 Oct 2006 03:39:55 +0000 (+0000) Subject: DxeCore.h, PeiCis.h and Uefi.h should not include . If a module need... X-Git-Tag: edk2-stable201903~24175 X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=commitdiff_plain;h=2193b507f0fbd0d4542d9923b2602e31b2dfde4f;hp=47412835e579350c720736e9a51e8b883ab3bf61;ds=sidebyside DxeCore.h, PeiCis.h and Uefi.h should not include . If a module need to resolve PCD macro (FixedAtBuild, BinaryPatch or Dynamic), the module should declare that it consume PcdLib library class in MSA file. The Edk II build tool will include "PcdLib.h" in "Autogen.h". git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1699 6f19259b-4bc3-4df7-8a09-765794883524 --- diff --git a/MdePkg/Include/DxeCore.h b/MdePkg/Include/DxeCore.h index 4a4f6376fd..f4f57f5d4f 100644 --- a/MdePkg/Include/DxeCore.h +++ b/MdePkg/Include/DxeCore.h @@ -45,6 +45,4 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. #include #include -#include - #endif diff --git a/MdePkg/Include/Peim/PeiCis.h b/MdePkg/Include/Peim/PeiCis.h index bb7847df70..5578648a9c 100644 --- a/MdePkg/Include/Peim/PeiCis.h +++ b/MdePkg/Include/Peim/PeiCis.h @@ -608,6 +608,4 @@ typedef struct { #include #include -#include - #endif diff --git a/MdePkg/Include/Uefi.h b/MdePkg/Include/Uefi.h index 7c9c7480cc..bb2599583f 100644 --- a/MdePkg/Include/Uefi.h +++ b/MdePkg/Include/Uefi.h @@ -49,10 +49,4 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. #include #include - -// -// All module types types have access to PCD for build support -// -#include - #endif