Andrew Geissler | 2edf064 | 2023-09-11 08:24:07 -0400 | [diff] [blame] | 1 | From 53642dc98630b9c725977ab935c5bdd9c401e1aa Mon Sep 17 00:00:00 2001 |
| 2 | From: Jon Mason <jon.mason@arm.com> |
| 3 | Date: Sat, 15 Jul 2023 15:08:43 -0400 |
| 4 | Subject: [PATCH] xtest: regression_1000: remove unneeded stat.h include |
| 5 | |
Andrew Geissler | 23e0279 | 2023-07-21 09:06:10 -0500 | [diff] [blame] | 6 | Hack 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 | |
| 13 | stat.h is not needed, since it is not being used in this file. So removing it. |
| 14 | |
Andrew Geissler | 2edf064 | 2023-09-11 08:24:07 -0400 | [diff] [blame] | 15 | Upstream-Status: Backport |
Andrew Geissler | 23e0279 | 2023-07-21 09:06:10 -0500 | [diff] [blame] | 16 | Signed-off-by: Jon Mason <jon.mason@arm.com> |
Andrew Geissler | 2edf064 | 2023-09-11 08:24:07 -0400 | [diff] [blame] | 17 | Reviewed-by: Jerome Forissier <jerome.forissier@linaro.org> |
| 18 | Acked-by: Jens Wiklander <jens.wiklander@linaro.org> |
| 19 | --- |
| 20 | host/xtest/regression_1000.c | 1 - |
| 21 | 1 file changed, 1 deletion(-) |
Andrew Geissler | 23e0279 | 2023-07-21 09:06:10 -0500 | [diff] [blame] | 22 | |
| 23 | diff --git a/host/xtest/regression_1000.c b/host/xtest/regression_1000.c |
Andrew Geissler | 2edf064 | 2023-09-11 08:24:07 -0400 | [diff] [blame] | 24 | index de32c4184fd8..25b4721cdc45 100644 |
Andrew Geissler | 23e0279 | 2023-07-21 09:06:10 -0500 | [diff] [blame] | 25 | --- 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> |