Merge pull request #15 from rctay/rc/solaris

fixes for Solaris
This commit is contained in:
Kevin Lange 2012-03-19 09:55:45 -07:00
commit 022782ce09

View File

@ -49,6 +49,7 @@
* WITH THE SOFTWARE.
*/
#include <ctype.h>
#include <stdio.h>
#include <stdint.h>
#include <string.h>
@ -59,6 +60,13 @@
#include <setjmp.h>
#include <sys/ioctl.h>
#ifndef TIOCGWINSZ
#include <termios.h>
#ifdef ECHO
#undef ECHO
#endif
#endif
/*
* telnet.h contains some #defines for the various
* commands, escape characters, and modes for telnet.