Enable compatibility with TEE Internal Core API v1.1
While the TEE Internal Core API in OP-TEE OS is updated, enable
compatibility with the last support version. This is done by compiling
xtest with __OPTEE_CORE_API_COMPAT_1_1=1 and including
<tee_api_compat.h> too. The TAs enable it with
CFG_TA_OPTEE_CORE_API_COMPAT_1_1==y in ta/ta_common.mk.
Backwards compatibility is enabled for the GP test suite TAs in the same
way, using a new patch.
Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
diff --git a/host/xtest/regression_4000.c b/host/xtest/regression_4000.c
index c840d78..a2163af 100644
--- a/host/xtest/regression_4000.c
+++ b/host/xtest/regression_4000.c
@@ -15,6 +15,7 @@
#include <tee_api_types.h>
#include <tee_api_defines_extensions.h>
+#include <tee_api_compat.h>
#include <ta_crypt.h>
#include <utee_defines.h>
#include <util.h>