summaryrefslogtreecommitdiff
path: root/passwd
diff options
context:
space:
mode:
authorDavid Reid <dreid@apache.org>2000-12-02 12:06:03 +0000
committerDavid Reid <dreid@apache.org>2000-12-02 12:06:03 +0000
commit3263219d65fbe85ffaf6b581f2f0e957b01684ab (patch)
treed28b400b1ca34da61acde52921e066927dd932cc /passwd
parent84177e59f931130c60e129b8dc68d02bbabf8f29 (diff)
downloadapr-3263219d65fbe85ffaf6b581f2f0e957b01684ab.tar.gz
If we're using the BeOS implementation of getpass we need stdio.h...
This should get this part building on BeOS again. Submitted by: Sam TH <sam@uchicago.edu> Reviewed by: David Reid <dreid@apache.org> git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@60843 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'passwd')
-rw-r--r--passwd/apr_getpass.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/passwd/apr_getpass.c b/passwd/apr_getpass.c
index 9231cca94..6019c7716 100644
--- a/passwd/apr_getpass.c
+++ b/passwd/apr_getpass.c
@@ -115,6 +115,8 @@ static char *getpass(const char *prompt)
}
#elif defined (HAVE_TERMIOS_H)
+#include <stdio.h>
+
static char *getpass(const char *prompt)
{
struct termios attr;