liberty-xui: fix a build warning
On macOS, TIOCGWINSZ seems to be defined earlier.
This commit is contained in:
parent
556c25855e
commit
091f92bab3
|
@ -47,9 +47,9 @@
|
||||||
#include <unicase.h>
|
#include <unicase.h>
|
||||||
|
|
||||||
#include <termios.h>
|
#include <termios.h>
|
||||||
#ifndef TIOCGWINSZ
|
#ifdef HAVE_RESIZETERM
|
||||||
#include <sys/ioctl.h>
|
#include <sys/ioctl.h>
|
||||||
#endif // ! TIOCGWINSZ
|
#endif // HAVE_RESIZETERM
|
||||||
|
|
||||||
// ncurses is notoriously retarded for input handling, and in past versions
|
// ncurses is notoriously retarded for input handling, and in past versions
|
||||||
// used to process mouse events unreliably. Moreover, rxvt-unicode only
|
// used to process mouse events unreliably. Moreover, rxvt-unicode only
|
||||||
|
|
Loading…
Reference in New Issue