mirror of
https://github.com/CloverHackyColor/CloverBootloader.git
synced 2025-02-22 02:01:47 +01:00
Fix build of clover-genconfig
This commit is contained in:
parent
f0553398b1
commit
15c1c82a6d
@ -55,11 +55,13 @@ extern "C" {
|
||||
#include <IndustryStandard/Bmp.h>
|
||||
#include <IndustryStandard/HdaCodec.h>
|
||||
|
||||
#include <Protocol/PciIo.h>
|
||||
#include <Protocol/AudioIo.h>
|
||||
#include <Protocol/Cpu.h>
|
||||
#include <Protocol/CpuIo.h>
|
||||
#include <Protocol/DataHub.h>
|
||||
#include <Protocol/DevicePathToText.h>
|
||||
#include <Protocol/EdidDiscovered.h>
|
||||
#include <Protocol/EdidOverride.h>
|
||||
#include <Protocol/FrameworkHii.h>
|
||||
#include <Protocol/HdaIo.h>
|
||||
@ -76,7 +78,9 @@ extern "C" {
|
||||
#include <Protocol/AppleSMC.h>
|
||||
#include <Protocol/AppleImageCodecProtocol.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#include "../refit/lib.h"
|
||||
#include "string.h"
|
||||
|
@ -37,7 +37,10 @@
|
||||
#ifndef __LIBEG_LIBEG_H__
|
||||
#define __LIBEG_LIBEG_H__
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#include <PiDxe.h>
|
||||
#include <Base.h>
|
||||
#include <Uefi.h>
|
||||
@ -133,7 +136,9 @@ extern "C" {
|
||||
#include <IndustryStandard/Atapi.h>
|
||||
#include <IndustryStandard/AppleSmBios.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
} // extern "C"
|
||||
#endif
|
||||
|
||||
/* types */
|
||||
|
||||
|
@ -73,14 +73,20 @@
|
||||
#define Print if ((!GlobalConfig.Quiet) || (GlobalConfig.TextOnly)) Print
|
||||
//#include "GenericBdsLib.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
extern EFI_HANDLE gImageHandle;
|
||||
extern EFI_SYSTEM_TABLE* gST;
|
||||
extern EFI_BOOT_SERVICES* gBS;
|
||||
extern EFI_RUNTIME_SERVICES* gRT;
|
||||
|
||||
#include <Protocol/SimpleFileSystem.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#define TAG_ABOUT (1)
|
||||
#define TAG_RESET (2)
|
||||
|
Loading…
Reference in New Issue
Block a user