aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--liberty-xui.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/liberty-xui.c b/liberty-xui.c
index b6b5e24..125985e 100644
--- a/liberty-xui.c
+++ b/liberty-xui.c
@@ -47,9 +47,9 @@
#include <unicase.h>
#include <termios.h>
-#ifndef TIOCGWINSZ
+#ifdef HAVE_RESIZETERM
#include <sys/ioctl.h>
-#endif // ! TIOCGWINSZ
+#endif // HAVE_RESIZETERM
// ncurses is notoriously retarded for input handling, and in past versions
// used to process mouse events unreliably. Moreover, rxvt-unicode only