Fix select.h
Merge pull request #802 from caiiiycuk/select_h_2

Missign extern "C"