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

Jacques Distler distler at golem.ph.utexas.edu
Thu May 14 07:08:23 UTC 2015

Got a

   /usr/local/include/dovecot/mail-deliver.h:30:17: error: field
       has incomplete type 'struct timeval'
           struct timeval delivery_time_started;

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.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 203 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://dovecot.org/pipermail/dovecot/attachments/20150514/4292e200/attachment.sig>

More information about the dovecot mailing list