Dovecot core-2.3.11.3 compile error on macOS with src/lib/ioloop-notify-kqueue.c
Steven Smith
steve.t.smith at gmail.com
Sat Sep 19 04:10:08 EEST 2020
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 C99
The 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>
More information about the dovecot
mailing list