Pigeonhole v0.4.8.rc3 compilation error (bad mail-deliver.h)

Stephan Bosch stephan at rename-it.nl
Thu May 14 11:19:50 UTC 2015


On 5/14/2015 9:08 AM, Jacques Distler wrote:
> Got a
>
>    /usr/local/include/dovecot/mail-deliver.h:30:17: error: field
>        has incomplete type 'struct timeval'
>            struct timeval delivery_time_started;
>                           ^
> error.
>
> This is because mail-deliver.h in dovecot-2.2.17 is missing an
>
>   #include <sys/time.h>
>
> Adding that line to mail-deliver.h fixes the problem. Oddly, I had no problem compiling dovecot itself.

Timo fixed it:

http://hg.dovecot.org/dovecot-2.2/rev/05e14a49507f

Regards,

Stephan.


More information about the dovecot mailing list