From b7ae098e21e4a5f8496d8d064ed2f38d59509eeb Mon Sep 17 00:00:00 2001 From: Dees Troy Date: Tue, 10 Sep 2013 20:47:35 +0000 Subject: Kang in older minzip for building in CM9 & CM7 CM7 and CM9 do not have libselinux needed in the newer minzip. --- gui/blanktimer.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'gui/blanktimer.cpp') diff --git a/gui/blanktimer.cpp b/gui/blanktimer.cpp index a513ff057..833305395 100644 --- a/gui/blanktimer.cpp +++ b/gui/blanktimer.cpp @@ -20,7 +20,6 @@ using namespace std; #include "rapidxml.hpp" using namespace rapidxml; extern "C" { -#include "../minzip/Zip.h" #include "../minuitwrp/minui.h" } #include @@ -37,9 +36,15 @@ extern "C" { #include #include "pages.hpp" #include "blanktimer.hpp" +#include "objects.hpp" #include "../data.hpp" extern "C" { #include "../twcommon.h" +#ifdef HAVE_SELINUX +#include "../minzip/Zip.h" +#else +#include "../minzipold/Zip.h" +#endif } #include "../twrp-functions.hpp" #include "../variables.h" -- cgit v1.2.3