aboutsummaryrefslogtreecommitdiffstats
path: root/getpass.c
diff options
context:
space:
mode:
Diffstat (limited to 'getpass.c')
-rw-r--r--getpass.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/getpass.c b/getpass.c
index e67ba670..d0606e45 100644
--- a/getpass.c
+++ b/getpass.c
@@ -17,10 +17,11 @@
#if defined(HAVE_UNISTD_H)
#include <unistd.h>
#endif
+#include "fetchmail.h"
extern int optind;
-#define INPUT_BUF_SIZE MAX_PASSWORD_LENGTH
+#define INPUT_BUF_SIZE PASSWORDLEN
#if defined(HAVE_TERMIOS_H) && defined(HAVE_TCSETATTR)
# include <termios.h>