[imapfilter-devel] non-ssl mode?

Lefteris Chatzibarbas lefcha at hellug.gr
Thu Aug 7 21:41:13 EEST 2003


On Thu, Aug 07, 2003 at 02:16:53PM -0400, Daniel M. Drucker wrote:
> > In any case you can compile imapfilter without SSL_TLS support:
> > 
> >   $ ./config -o ssltls=no
> >   $ make
> 
> [dmd at eco ~/build/imapfilter-0.9]$ ./config -o ssltls=no
> Destination directory:                                  /usr/local
> Binaries directory:                                     /usr/local/bin
> Manual pages directory:                                 /usr/local/man
> Debugging information:                                  no
> Configuration file permissions checking:                yes
> Encrypted passwords support:                            yes
> Secure Socket Layer and Transport Layer Security:       no
> Challenge-Response Authentication Mechanism:            yes
> [dmd at eco ~/build/imapfilter-0.9]$ make
> cc -O   -c -o account.o account.c
> cc -O   -c -o action.o action.c
> cc -O   -c -o auth.o auth.c
> cc -O   -c -o buffer.o buffer.c
> In file included from buffer.c:4:
> imapfilter.h:232: parse error before `*'
> imapfilter.h:233: parse error before `FILE'
> make: *** [buffer.o] Error 1
> 

Argh... You try all the combinations but there is always one that you
miss and will cause trouble...

Just add in line 4 of imapfilter.h:

#include <stdio.h>

Sorry about this...

... always those header includes...


PS. The attached patch does the job, too.

-------------- next part --------------
--- imapfilter.h.orig	2003-08-06 18:17:06.000000000 +0300
+++ imapfilter.h	2003-08-07 21:34:51.000000000 +0300
@@ -1,6 +1,7 @@
 #ifndef IMAPFILTER_H
 #define IMAPFILTER_H
 
+#include <stdio.h>
 
 #include "config.h"
 #include "account.h"


More information about the Imapfilter-devel mailing list