In that case, it may be best for gnulib to generate a substitute <sys/select.h> file that does the right thing under Microsoft Windows (or indeed, any platform that lacks <sys/select.h>). That way, gnulib modules like nanosleep can simply "#include <sys/select.h>" unconditionally and use 'select'.
Is that something you could write?