Steven Smith
2020-Sep-19 01:10 UTC
Dovecot core-2.3.11.3 compile error on macOS with src/lib/ioloop-notify-kqueue.c
I?ve hit this compile error on macOS 10.15 with the file src/lib/ioloop-notify-kqueue.c:> error: implicit declaration of function 'i_gettimeofday' is invalid in C99The fix is to #include "time-util.h"> --- ./src/lib/ioloop-notify-kqueue.c 2020-09-18 19:56:38.000000000 -0400 > +++ ./src/lib/ioloop-notify-kqueue.c 2020-09-18 20:54:36.000000000 -0400 > @@ -11,6 +11,7 @@ > > #include "ioloop-private.h" > #include "llist.h" > +#include "time-util.h" > #include <unistd.h> > #include <fcntl.h> > #include <sys/types.h>-------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 3898 bytes Desc: not available URL: <https://dovecot.org/pipermail/dovecot/attachments/20200918/11cc178a/attachment-0001.p7s>