provide struct winsize and TIOCGWINSZ on Solaris
This commit is contained in:
parent
004e132ace
commit
d8455890b8
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user