Subject: Re: bug#6570: Sources pulled at 9 o'clock UTC don't compile in lib-src/movemail.c

From: Juanma Barranquero <[email-masked]>
Date: Tue, 6 Jul 2010 14:03:11 +0200

On Tue, Jul 6, 2010 at 12:20, Peter Dyballa <[email-masked]> wrote:

> Obviously the type popserver is not known:
>
>        int pop_retr (popserver server, int msgno, FILE *arg);

Does it work with this change?

    Juanma

=== modified file 'lib-src/movemail.c'
--- lib-src/movemail.c	2010-07-03 00:50:23 +0000
+++ lib-src/movemail.c	2010-07-06 12:01:56 +0000
@@ -155,6 +155,8 @@
 char *concat (char *s1, char *s2, char *s3);
 long *xmalloc (unsigned int size);
+#ifdef MAIL_USE_POP
 int popmail (char *mailbox, char *outfile, int preserve, char
*password, int reverse_order);
 int pop_retr (popserver server, int msgno, FILE *arg);
+#endif /* MAIL_USE_POP */
 int mbx_write (char *line, int len, FILE *mbf);
 int mbx_delimit_begin (FILE *mbf);