summaryrefslogtreecommitdiff
path: root/passwd
diff options
context:
space:
mode:
authordreid <dreid@13f79535-47bb-0310-9956-ffa450edef68>2000-12-02 12:06:03 +0000
committerdreid <dreid@13f79535-47bb-0310-9956-ffa450edef68>2000-12-02 12:06:03 +0000
commit9bd056d2f6efff988cc3256d603c19e02d2e39ac (patch)
treed28b400b1ca34da61acde52921e066927dd932cc /passwd
parent7408d3eaf236e76128b50b6c86529f5937fb9b6b (diff)
downloadlibapr-9bd056d2f6efff988cc3256d603c19e02d2e39ac.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: http://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;