blob: 98c49a20878bcef5671a7ea946daa58587cd6b19 [file] [log] [blame]
Andrew Geissler2edf0642023-09-11 08:24:07 -04001From 53642dc98630b9c725977ab935c5bdd9c401e1aa Mon Sep 17 00:00:00 2001
2From: Jon Mason <jon.mason@arm.com>
3Date: Sat, 15 Jul 2023 15:08:43 -0400
4Subject: [PATCH] xtest: regression_1000: remove unneeded stat.h include
5
Andrew Geissler23e02792023-07-21 09:06:10 -05006Hack to work around musl compile error:
7 In file included from optee-test/3.17.0-r0/recipe-sysroot/usr/include/sys/stat.h:23,
8 from optee-test/3.17.0-r0/git/host/xtest/regression_1000.c:25:
9 optee-test/3.17.0-r0/recipe-sysroot/usr/include/bits/stat.h:17:26: error: expected identifier or '(' before '[' token
10 17 | unsigned __unused[2];
11 | ^
12
13stat.h is not needed, since it is not being used in this file. So removing it.
14
Andrew Geissler2edf0642023-09-11 08:24:07 -040015Upstream-Status: Backport
Andrew Geissler23e02792023-07-21 09:06:10 -050016Signed-off-by: Jon Mason <jon.mason@arm.com>
Andrew Geissler2edf0642023-09-11 08:24:07 -040017Reviewed-by: Jerome Forissier <jerome.forissier@linaro.org>
18Acked-by: Jens Wiklander <jens.wiklander@linaro.org>
19---
20 host/xtest/regression_1000.c | 1 -
21 1 file changed, 1 deletion(-)
Andrew Geissler23e02792023-07-21 09:06:10 -050022
23diff --git a/host/xtest/regression_1000.c b/host/xtest/regression_1000.c
Andrew Geissler2edf0642023-09-11 08:24:07 -040024index de32c4184fd8..25b4721cdc45 100644
Andrew Geissler23e02792023-07-21 09:06:10 -050025--- a/host/xtest/regression_1000.c
26+++ b/host/xtest/regression_1000.c
27@@ -22,7 +22,6 @@
28 #include <stdio.h>
29 #include <stdlib.h>
30 #include <string.h>
31-#include <sys/stat.h>
32 #include <sys/types.h>
33 #include <ta_arm_bti.h>
34 #include <ta_concurrent.h>