OvmfPkg/XenConsoleSerialPortLib: don't include <Uefi/UefiBaseType.h>

XenConsoleSerialPortLib is a BASE type library instance, without being
restricted to UEFI client modules. (For example, the
"ArmVirtPkg/ArmVirtXen.dsc" platform builds this library instance into
"ArmVirtPkg/PrePi/ArmVirtPrePiUniCoreRelocatable.inf", which is a SEC type
module.) For such library instances, including <Uefi/UefiBaseType.h> is
not right.

Cc: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Cc: Jordan Justen <jordan.l.justen@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
This commit is contained in:
Laszlo Ersek 2016-10-25 16:25:44 +02:00
parent 9c3dcd0f56
commit 6c9616083c
1 changed files with 0 additions and 1 deletions

View File

@ -15,7 +15,6 @@
**/ **/
#include <Base.h> #include <Base.h>
#include <Uefi/UefiBaseType.h>
#include <Library/BaseLib.h> #include <Library/BaseLib.h>
#include <Library/SerialPortLib.h> #include <Library/SerialPortLib.h>