Created attachment 125731 [details] proposed solution There is no error.h on some systems (e.g. musl), so use local implementation of error() function as a safe option.
Did anyone have a chance to take a look at this in the meantime?
This was fixed a while back commit 702b1fe56f6dd61d0003457728702248f46c6dcc Author: Aleksandar Rikalo <aleksandar.rikalo@rt-rk.com> Date: Thu Apr 23 16:22:31 2020 +0000 Musl issues: Fix none/tests/pth_atfork1.c There is no error.h on some systems.