summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--readline/acconfig.h2
-rw-r--r--readline/config.h.in2
2 files changed, 3 insertions, 1 deletions
diff --git a/readline/acconfig.h b/readline/acconfig.h
index b41ac519285..577cf9c7d49 100644
--- a/readline/acconfig.h
+++ b/readline/acconfig.h
@@ -17,7 +17,7 @@
/* Definitions pulled in from aclocal.m4. */
#undef VOID_SIGHANDLER
-#undef TIOCGWINSZ_IN_SYS_IOCTL
+#undef GWINSZ_IN_SYS_IOCTL
#undef TIOCSTAT_IN_SYS_IOCTL
diff --git a/readline/config.h.in b/readline/config.h.in
index d7cf6cffa0b..87f807fa6eb 100644
--- a/readline/config.h.in
+++ b/readline/config.h.in
@@ -22,6 +22,8 @@
/* Definitions pulled in from aclocal.m4. */
#undef VOID_SIGHANDLER
+#undef GWINSZ_IN_SYS_IOCTL
+
#undef TIOCSTAT_IN_SYS_IOCTL
#undef HAVE_GETPW_DECLS