Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Jun 2023 15:18:48 +0200
From:      =?UTF-8?q?Corvin=20K=C3=B6hne?= <corvink@FreeBSD.org>
To:        virtualization@freebsd.org
Cc:        =?UTF-8?q?Corvin=20K=C3=B6hne?= <corvink@FreeBSD.org>
Subject:   [PATCH 4/5] OvmfPkg: avoid including AcpiPlatformLib twice
Message-ID:  <20230612132558.349152-5-corvink@FreeBSD.org>
In-Reply-To: <20230612132558.349152-1-corvink@FreeBSD.org>
References:  <20230612132558.349152-1-corvink@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20230612132558.349152-5-corvink>