discover/pb-discover: #include <locale.h> for musl libc