posix: extern "C" around definition of select(2)