If we're going to use select(), we need <sys/select.h>.