From 6f64681239afb42a47b20e6834cc7839cf44cb20 Mon Sep 17 00:00:00 2001 From: Jief L Date: Tue, 31 Mar 2020 19:05:34 +0300 Subject: [PATCH] Fix includes and refit.inf --- rEFIt_UEFI/Platform/Settings.cpp | 2 +- rEFIt_UEFI/cpp_unit_test/all_tests.cpp | 4 ++-- rEFIt_UEFI/refit.inf | 2 ++ rEFIt_UEFI/refit/menu.cpp | 1 + 4 files changed, 6 insertions(+), 3 deletions(-) diff --git a/rEFIt_UEFI/Platform/Settings.cpp b/rEFIt_UEFI/Platform/Settings.cpp index 696370b3c..16101cb1d 100644 --- a/rEFIt_UEFI/Platform/Settings.cpp +++ b/rEFIt_UEFI/Platform/Settings.cpp @@ -10,7 +10,7 @@ #include "../refit/screen.h" #include "../refit/menu.h" #include "gma.h" -//#include "XPointer.h" +#include "../libeg/VectorGraphics.h" #ifndef DEBUG_ALL #define DEBUG_SET 1 diff --git a/rEFIt_UEFI/cpp_unit_test/all_tests.cpp b/rEFIt_UEFI/cpp_unit_test/all_tests.cpp index 83070176e..27eb8cd6f 100644 --- a/rEFIt_UEFI/cpp_unit_test/all_tests.cpp +++ b/rEFIt_UEFI/cpp_unit_test/all_tests.cpp @@ -16,8 +16,8 @@ #include "strlen_test.h" #include // Only use angled for Platform, else, xcode project won't compile #include "printf_lite-test.h" -#include "poolprint-test.h" -#include "printlib-test.h" +//#include "poolprint-test.h" +//#include "printlib-test.h" bool all_tests() { diff --git a/rEFIt_UEFI/refit.inf b/rEFIt_UEFI/refit.inf index 878a7366e..a3efbafcd 100644 --- a/rEFIt_UEFI/refit.inf +++ b/rEFIt_UEFI/refit.inf @@ -88,6 +88,7 @@ libeg/nanosvg.cpp libeg/nanosvg.h libeg/nanosvgrast.cpp + libeg/VectorGraphics.h libeg/VectorGraphics.cpp libeg/libeg.h libeg/libegint.h @@ -155,6 +156,7 @@ Platform/Nvram.h Platform/Platform.h Platform/platformdata.cpp + Platform/plist.h Platform/plist.cpp # Platform/Pointer.cpp Platform/Settings.cpp diff --git a/rEFIt_UEFI/refit/menu.cpp b/rEFIt_UEFI/refit/menu.cpp index 899388e46..21ed9d8e4 100644 --- a/rEFIt_UEFI/refit/menu.cpp +++ b/rEFIt_UEFI/refit/menu.cpp @@ -48,6 +48,7 @@ #include "screen.h" #include "../cpp_foundation/XString.h" #include "../libeg/XTheme.h" +#include "../libeg/VectorGraphics.h" // for testSVG #ifndef DEBUG_ALL #define DEBUG_MENU 1