From 6c9616083c1458ddc0c33ce5415d5f3c0e3c6eee Mon Sep 17 00:00:00 2001 From: Laszlo Ersek Date: Tue, 25 Oct 2016 16:25:44 +0200 Subject: [PATCH] OvmfPkg/XenConsoleSerialPortLib: don't include 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 is not right. Cc: Ard Biesheuvel Cc: Jordan Justen Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Laszlo Ersek Reviewed-by: Jordan Justen --- .../Library/XenConsoleSerialPortLib/XenConsoleSerialPortLib.c | 1 - 1 file changed, 1 deletion(-) diff --git a/OvmfPkg/Library/XenConsoleSerialPortLib/XenConsoleSerialPortLib.c b/OvmfPkg/Library/XenConsoleSerialPortLib/XenConsoleSerialPortLib.c index 2956963124..4a63b86047 100644 --- a/OvmfPkg/Library/XenConsoleSerialPortLib/XenConsoleSerialPortLib.c +++ b/OvmfPkg/Library/XenConsoleSerialPortLib/XenConsoleSerialPortLib.c @@ -15,7 +15,6 @@ **/ #include -#include #include #include