--- lib/timeutils/misc.c.orig	2022-08-28 21:50:04.000000000 +1000
+++ lib/timeutils/misc.c	2022-11-02 21:58:00.000000000 +1100
@@ -25,6 +25,7 @@
 #include "timeutils/misc.h"
 #include "timeutils/cache.h"
 #include "messages.h"
+#include "compat/time.h"
 
 #include <errno.h>
 #include <string.h>
