push
github
test: fix build for macOS Sequoia 15.0 When building <tarantool-c-tests/gh-8594-sysprof-ffunc-crash.test.c> on macOS Sequoia 15.0, I've got the following error from including <sys/ptrace.h>: | error: unknown type name 'caddr_t' | int ptrace(int _request, pid_t _pid, caddr_t _addr, int _data); It can be fixed by including <sys/types.h>, but since this test is skipped for macOS anyway, I prefer just to move all necessary includes under the corresponding define. Reviewed-by: Maxim Kokryashkin <m.kokryashkin@tarantool.org> Reviewed-by: Sergey Bronnikov <sergeyb@tarantool.org> Signed-off-by: Sergey Kaplun <skaplun@tarantool.org> (cherry picked from commit 84c968d45)
5695 of 6033 branches covered (94.4%)
Branch coverage included in aggregate %.
21716 of 23449 relevant lines covered (92.61%)
2976758.35 hits per line