aboutsummaryrefslogtreecommitdiff
path: root/coreutils/stty.c
diff options
context:
space:
mode:
Diffstat (limited to 'coreutils/stty.c')
-rw-r--r--coreutils/stty.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/coreutils/stty.c b/coreutils/stty.c
index e02fe7c72..5506fdb66 100644
--- a/coreutils/stty.c
+++ b/coreutils/stty.c
@@ -68,6 +68,10 @@
# define CSWTCH _POSIX_VDISABLE
#endif
+#ifndef IUCLC
+# define IUCLC 0
+#endif
+
/* SunOS 5.3 loses (^Z doesn't work) if 'swtch' is the same as 'susp'.
So the default is to disable 'swtch.' */
#if defined(__sparc__) && defined(__svr4__)