POSIX requires environ to be declared before use.

termios.h should be used instead of termio.h in new code.