includes: update includes for base and ext4 policies

Change-Id: I212eec2d4ce07b4b72a1c8582ed83f3f8a038a1e
diff --git a/twrp-functions.cpp b/twrp-functions.cpp
index 2f563d9..e0e4301 100755
--- a/twrp-functions.cpp
+++ b/twrp-functions.cpp
@@ -1336,6 +1336,7 @@
 }
 
 bool TWFunc::Get_Encryption_Policy(ext4_encryption_policy &policy, std::string path) {
+#ifdef TW_INCLUDE_FBE
 	if (!TWFunc::Path_Exists(path)) {
 		LOGERR("Unable to find %s to get policy\n", path.c_str());
 		return false;
@@ -1344,10 +1345,12 @@
 		LOGERR("No policy set for path %s\n", path.c_str());
 		return false;
 	}
+#endif
 	return true;
 }
 
 bool TWFunc::Set_Encryption_Policy(std::string path, const ext4_encryption_policy &policy) {
+#ifdef TW_INCLUDE_FBE
 	if (!TWFunc::Path_Exists(path)) {
 		LOGERR("unable to find %s to set policy\n", path.c_str());
 		return false;
@@ -1359,10 +1362,12 @@
 		LOGERR("unable to set policy for path: %s\n", path.c_str());
 		return false;
 	}
+#endif
 	return true;
 }
 
 bool TWFunc::Is_Data_Wiped(std::string path) {
+#ifdef TW_INCLUDE_FBE
 	DIR* d = opendir(path.c_str());
 	size_t file_count = 0;
 	if (d != NULL) {
@@ -1380,5 +1385,8 @@
 	}
 	LOGINFO("file_count: %zu\n", file_count);
 	return file_count == 0;
+#else
+	return true;
+#endif
 }
 #endif // ndef BUILD_TWRPTAR_MAIN