diff options
| author | Nick Hainke <vincent@systemli.org> | 2023-05-16 23:41:26 +0200 |
|---|---|---|
| committer | Tianling Shen <cnsztl@gmail.com> | 2023-05-18 19:20:03 +0800 |
| commit | b84d35f57798d61d74dd7d123aa58f1af0db91b6 (patch) | |
| tree | 52d71d487dc7760d851fbbf389d26f8aefcea0db /lang/python/python3/files/python3-package-codecs.mk | |
| parent | 5cd812bd6a52d63ab1d644540f8b368976e7d79b (diff) | |
inotify-tools: fix compilation with musl 1.2.4
Fixes errors in the form of:
inotifytools.c: In function 'inotifytools_watch_recursively_with_exclude':
inotifytools.c:1335:30: error: storage size of 'my_stat' isn't known
1335 | static struct stat64 my_stat;
| ^~~~~~~
inotifytools.c:1342:36: error: implicit declaration of function 'lstat64'; did you mean 'lstat'? [-Werror=implicit-function-declaration]
1342 | if ( -1 == lstat64( next_file, &my_stat ) ) {
| ^~~~~~~
| lstat
inotifytools.c:1335:30: error: unused variable 'my_stat' [-Werror=unused-variable]
1335 | static struct stat64 my_stat;
| ^~~~~~~
inotifytools.c: In function 'isdir':
inotifytools.c:1621:30: error: storage size of 'my_stat' isn't known
1621 | static struct stat64 my_stat;
| ^~~~~~~
inotifytools.c:1621:30: error: unused variable 'my_stat' [-Werror=unused-variable]
inotifytools.c:1630:1: error: control reaches end of non-void function [-Werror=return-type]
1630 | }
| ^
cc1: all warnings being treated as errors
Signed-off-by: Nick Hainke <vincent@systemli.org>
Diffstat (limited to 'lang/python/python3/files/python3-package-codecs.mk')
0 files changed, 0 insertions, 0 deletions
