Pigeonhole v0.4.8.rc3 compilation error (bad mail-deliver.h)
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.
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.
participants (2)
-
Jacques Distler
-
Stephan Bosch