[PATCH 4/5] OvmfPkg: avoid including AcpiPlatformLib twice
- In reply to: Corvin Köhne : "[PATCH 0/5] OvmfPkg/Bhyve: install ACPI tables by FwCfg"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 12 Jun 2023 13:18:48 UTC
Signed-off-by: Corvin Köhne <corvink@FreeBSD.org> --- OvmfPkg/Include/Library/AcpiPlatformLib.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/OvmfPkg/Include/Library/AcpiPlatformLib.h b/OvmfPkg/Include/Library/AcpiPlatformLib.h index 54c89d62b3bf..df141b9b13cf 100644 --- a/OvmfPkg/Include/Library/AcpiPlatformLib.h +++ b/OvmfPkg/Include/Library/AcpiPlatformLib.h @@ -4,6 +4,9 @@ SPDX-License-Identifier: BSD-2-Clause-Patent **/ +#ifndef ACPI_PLATFORM_LIB_H_ +#define ACPI_PLATFORM_LIB_H_ + #include <Protocol/AcpiTable.h> #include <Protocol/PciIo.h> @@ -98,3 +101,5 @@ EFI_STATUS TransferS3ContextToBootScript ( IN S3_CONTEXT *S3Context ); + +#endif -- 2.41.0