diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2000-04-08 06:59:47 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2000-04-08 06:59:47 +0000 |
commit | 2065c80c50dcd792d299ec7b4ab4887e1cb67768 (patch) | |
tree | b3dba7aeb673cbd762d620740aec69b727b21e20 /fetchmail.c | |
parent | 8b999451bf2396e11fc2ff9560e2dc8ef127bfd6 (diff) | |
download | fetchmail-2065c80c50dcd792d299ec7b4ab4887e1cb67768.tar.gz fetchmail-2065c80c50dcd792d299ec7b4ab4887e1cb67768.tar.bz2 fetchmail-2065c80c50dcd792d299ec7b4ab4887e1cb67768.zip |
BeOS support.
svn path=/trunk/; revision=2866
Diffstat (limited to 'fetchmail.c')
-rw-r--r-- | fetchmail.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/fetchmail.c b/fetchmail.c index f9db4261..f7428211 100644 --- a/fetchmail.c +++ b/fetchmail.c @@ -31,6 +31,9 @@ #endif /* HAVE_SETRLIMIT */ #include <sys/utsname.h> +#ifdef HAVE_NET_SOCKET_H +#include <net/socket.h> +#endif #ifdef HAVE_GETHOSTBYNAME #include <netdb.h> #endif /* HAVE_GETHOSTBYNAME */ @@ -492,7 +495,7 @@ int main(int argc, char **argv) strlen(ctl->server.pollname) + 1); (void) sprintf(tmpbuf, password_prompt, ctl->remotename, ctl->server.pollname); - ctl->password = xstrdup((char *)getpassword(tmpbuf)); + ctl->password = xstrdup((char *)fm_getpassword(tmpbuf)); } } |