* getpass.c (getpass): Fix typo, test for HAVE_TCSETATTR and not
[gnulib.git] / lib / getpass.c
index 83f2369..b965bcf 100644 (file)
@@ -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