Delete tty library.
Move errno header.