fd_set was unknown on at least Musl due to not including sys/select.h (cherry picked from commit ef6f249e)