Brad Bishop | bec4ebc | 2022-08-03 09:55:16 -0400 | [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 | |
| 10 | Upstream-Status: Pending [Not submitted to upstream yet] |
| 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 |
| 14 | index 4264884..7f1baca 100644 |
| 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> |