| 1 | fstatat64 is macrod to fstatat in sys/stat.h in musl- but then that fstatat is
|
| 2 | used in the _syscall4 macro mapping to __NR_$name, and __NR_fstatat is not
|
| 3 | defined anywhere here, as it wants the 64 name.
|
| 4 |
|
| 5 | so, just let it keep the name with an undef of the stat.h macro, then the macro
|
| 6 | expansion below evaluates correctly.
|
| 7 | |
| 8 | |
| 9 | @@ -4947,7 +4947,8 @@
|
| 10 | # endif
|
| 11 | #endif
|
| 12 | #if defined(__NR_fstatat64)
|
| 13 | + #undef fstatat64
|
| 14 | LSS_INLINE _syscall4(int, fstatat64, int, d,
|
| 15 | const char *, p,
|
| 16 | struct kernel_stat64 *, b, int, f)
|
| 17 | #endif
|