On HP-UX use pselect() rather than select() to avoid weirdness where different select() prototypes are declared depending on the order the system headers are included.