Andrew Geissler | 23e0279 | 2023-07-21 09:06:10 -0500 | [diff] [blame] | 1 | Hack to work around musl compile error: |
| 2 | In file included from optee-test/3.17.0-r0/recipe-sysroot/usr/include/sys/stat.h:23, |
| 3 | from optee-test/3.17.0-r0/git/host/xtest/regression_1000.c:25: |
| 4 | optee-test/3.17.0-r0/recipe-sysroot/usr/include/bits/stat.h:17:26: error: expected identifier or '(' before '[' token |
| 5 | 17 | unsigned __unused[2]; |
| 6 | | ^ |
| 7 | |
| 8 | stat.h is not needed, since it is not being used in this file. So removing it. |
| 9 | |
Andrew Geissler | 80d4184 | 2023-09-11 08:36:15 -0400 | [diff] [blame^] | 10 | Upstream-Status: Pending [Not submitted to upstream yet] |
Andrew Geissler | 23e0279 | 2023-07-21 09:06:10 -0500 | [diff] [blame] | 11 | Signed-off-by: Jon Mason <jon.mason@arm.com> |
| 12 | |
| 13 | diff --git a/host/xtest/regression_1000.c b/host/xtest/regression_1000.c |
Andrew Geissler | 80d4184 | 2023-09-11 08:36:15 -0400 | [diff] [blame^] | 14 | index 4264884..7f1baca 100644 |
Andrew Geissler | 23e0279 | 2023-07-21 09:06:10 -0500 | [diff] [blame] | 15 | --- a/host/xtest/regression_1000.c |
| 16 | +++ b/host/xtest/regression_1000.c |
| 17 | @@ -22,7 +22,6 @@ |
| 18 | #include <stdio.h> |
| 19 | #include <stdlib.h> |
| 20 | #include <string.h> |
| 21 | -#include <sys/stat.h> |
| 22 | #include <sys/types.h> |
| 23 | #include <ta_arm_bti.h> |
| 24 | #include <ta_concurrent.h> |