Dovecot core-2.3.11.3 compile error on macOS with src/lib/ioloop-notify-kqueue.c
19 Sep
2020
19 Sep
'20
4:10 a.m.
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>
1555
Age (days ago)
1555
Last active (days ago)
0 comments
1 participants
participants (1)
-
Steven Smith