[PATCH] fix compile failure with libc musl