summaryrefslogtreecommitdiffstats
path: root/OvmfPkg/Include
diff options
context:
space:
mode:
authorCorvin Köhne <corvink@freebsd.org>2023-06-21 09:31:12 +0200
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2023-06-23 17:26:37 +0000
commitf5d851673d4d646c129dca4018258f184ab70cbc (patch)
tree7eafb2e74c0e733a37275284be605db90368051b /OvmfPkg/Include
parent8f63f4143de4e58c7efe616407862edb890d96e5 (diff)
downloadedk2-f5d851673d4d646c129dca4018258f184ab70cbc.tar.gz
edk2-f5d851673d4d646c129dca4018258f184ab70cbc.tar.bz2
edk2-f5d851673d4d646c129dca4018258f184ab70cbc.zip
OvmfPkg: avoid including AcpiPlatformLib twice
Signed-off-by: Corvin Köhne <corvink@FreeBSD.org> Acked-by: Peter Grehan <grehan@freebsd.org>
Diffstat (limited to 'OvmfPkg/Include')
-rw-r--r--OvmfPkg/Include/Library/AcpiPlatformLib.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/OvmfPkg/Include/Library/AcpiPlatformLib.h b/OvmfPkg/Include/Library/AcpiPlatformLib.h
index 78d5010e91..6172650003 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>
/**
@@ -47,3 +50,5 @@ InstallAcpiTablesFromRsdp (
IN EFI_ACPI_TABLE_PROTOCOL *AcpiProtocol,
IN EFI_ACPI_2_0_ROOT_SYSTEM_DESCRIPTION_POINTER *Rsdp
);
+
+#endif