Get test_ioctl to pass on HPUX 11.

TIOCGPGRP and many other definitions come from bsdtty.h, so it needs
to be included at least on HPUX.
4 files changed