fix errno handling in scandir:
[musl] / src / network / h_errno.c
1 int h_errno;