mirror of
https://github.com/troglobit/editline.git
synced 2025-09-18 10:28:07 +08:00
Add configurable support for using termcap library for terminal size.
This commit is contained in:
@@ -45,6 +45,13 @@
|
||||
#ifdef SYS_OS9
|
||||
#include "os9.h"
|
||||
#endif
|
||||
/* The following two are for TIOCGWINSZ */
|
||||
#ifdef HAVE_TERMIOS_H
|
||||
# include <termios.h>
|
||||
#endif
|
||||
#ifdef GWINSZ_IN_SYS_IOCTL
|
||||
# include <sys/ioctl.h>
|
||||
#endif
|
||||
|
||||
#ifndef SIZE_T
|
||||
#define SIZE_T unsigned int
|
||||
|
Reference in New Issue
Block a user