summaryrefslogtreecommitdiff
path: root/EdkCompatibilityPkg/Foundation/Protocol/PlatformMemTest/PlatformMemTest.h
diff options
context:
space:
mode:
Diffstat (limited to 'EdkCompatibilityPkg/Foundation/Protocol/PlatformMemTest/PlatformMemTest.h')
-rw-r--r--EdkCompatibilityPkg/Foundation/Protocol/PlatformMemTest/PlatformMemTest.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/EdkCompatibilityPkg/Foundation/Protocol/PlatformMemTest/PlatformMemTest.h b/EdkCompatibilityPkg/Foundation/Protocol/PlatformMemTest/PlatformMemTest.h
index 356563edaf..5f499adc7b 100644
--- a/EdkCompatibilityPkg/Foundation/Protocol/PlatformMemTest/PlatformMemTest.h
+++ b/EdkCompatibilityPkg/Foundation/Protocol/PlatformMemTest/PlatformMemTest.h
@@ -1,7 +1,7 @@
/*++
-Copyright (c) 2004, Intel Corporation
+Copyright (c) 2004 - 2007, Intel Corporation
All rights reserved. This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License
which accompanies this distribution. The full text of the license may be found at
@@ -22,8 +22,11 @@ Abstract:
#ifndef __PLATFORM_MEMTEST_H__
#define __PLATFORM_MEMTEST_H__
-
+#if (EFI_SPECIFICATION_VERSION >= 0x0002000A)
+#include EFI_PROTOCOL_CONSUMER (HiiDatabase)
+#else
#include EFI_PROTOCOL_CONSUMER (Hii)
+#endif
#include EFI_PROTOCOL_CONSUMER (GenericMemoryTest)