diff options
author | Fabio Estevam <festevam@gmail.com> | 2025-02-19 10:02:42 -0300 |
---|---|---|
committer | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2025-06-02 07:33:24 +0200 |
commit | 173f9714c8da1d685bfa951d43b9310d16bbab3c (patch) | |
tree | ec7739a4094f1a16db2e695d0639dbba8213d014 /tests/ubi-tests/helpers | |
parent | 12bc9ad824bd8f18a5ec9c7154ad2374cf8c7ae3 (diff) |
ubifs-utils: journal: Include <sys/stat.h>
Include the <sys/stat.h> header file to fix the following error
when building with musl:
| ../git/ubifs-utils/libubifs/journal.c: In function 'ubifs_get_dent_type':
| ../git/ubifs-utils/libubifs/journal.c:414:24: error: 'S_IFMT' undeclared (first use in this function)
| 414 | switch (mode & S_IFMT) {
| | ^~~~~~
| ../git/ubifs-utils/libubifs/journal.c:414:24: note: each undeclared identifier is reported only once for each function it appears in
| ../git/ubifs-utils/libubifs/journal.c:415:14: error: 'S_IFREG' undeclared (first use in this function)
| 415 | case S_IFREG:
Signed-off-by: Fabio Estevam <festevam@gmail.com>
Reviewed-by: Zhihao Cheng <chengzhihao1@huawei.com>
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'tests/ubi-tests/helpers')
0 files changed, 0 insertions, 0 deletions