- Fix building with recent version of gcc (3.4.6) [1]
- Test for pcvt_ioctl.h existence as it was removed recently.
Include iokb.h instead if its'nt exists. [1]
- Replace deprecated variable. [2]
Submitted by: [1] Rainer Alves <rainer.alves@gmail.com>, [2] me (stas)
Approved by: sem (mentor)