summaryrefslogtreecommitdiff
path: root/gl
diff options
context:
space:
mode:
Diffstat (limited to 'gl')
-rw-r--r--gl/Makefile.am6
-rw-r--r--gl/getpass.c2
2 files changed, 7 insertions, 1 deletions
diff --git a/gl/Makefile.am b/gl/Makefile.am
index 7652c21697..89b1563e8b 100644
--- a/gl/Makefile.am
+++ b/gl/Makefile.am
@@ -50,6 +50,12 @@ libgnu_la_SOURCES += minmax.h
## end gnulib module minmax
+## begin gnulib module size_max
+
+libgnu_la_SOURCES += size_max.h
+
+## end gnulib module size_max
+
## begin gnulib module snprintf
libgnu_la_SOURCES += snprintf.h
diff --git a/gl/getpass.c b/gl/getpass.c
index aeab51363d..b8fef3fb3f 100644
--- a/gl/getpass.c
+++ b/gl/getpass.c
@@ -158,7 +158,7 @@ getpass (const char *prompt)
}
/* Restore the original setting. */
-#if TCSETATTR
+#if HAVE_TCSETATTR
if (tty_changed)
tcsetattr (fileno (in), TCSAFLUSH | TCSASOFT, &s);
#endif