provide struct winsize and TIOCGWINSZ on Solaris

This commit is contained in:
Tay Ray Chuan 2012-03-19 21:05:01 +08:00
parent 004e132ace
commit d8455890b8
1 changed files with 7 additions and 0 deletions

View File

@ -59,6 +59,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.