-/* $OpenBSD: bounce.c,v 1.89 2023/05/15 12:03:04 op Exp $ */
+/* $OpenBSD: bounce.c,v 1.90 2023/05/31 16:51:46 op Exp $ */
/*
* Copyright (c) 2009 Gilles Chehade <gilles@poolp.org>
#include <inttypes.h>
#include <stdlib.h>
#include <string.h>
+#include <time.h>
#include <unistd.h>
#include "smtpd.h"
-/* $OpenBSD: control.c,v 1.129 2023/03/08 04:43:15 guenther Exp $ */
+/* $OpenBSD: control.c,v 1.130 2023/05/31 16:51:46 op Exp $ */
/*
* Copyright (c) 2012 Gilles Chehade <gilles@poolp.org>
#include <signal.h>
#include <stdlib.h>
#include <string.h>
+#include <time.h>
#include <unistd.h>
#include "smtpd.h"
-/* $OpenBSD: enqueue.c,v 1.120 2021/07/28 19:39:50 benno Exp $ */
+/* $OpenBSD: enqueue.c,v 1.121 2023/05/31 16:51:46 op Exp $ */
/*
* Copyright (c) 2005 Henning Brauer <henning@bulabula.org>
#include <pwd.h>
#include <stdlib.h>
#include <string.h>
+#include <time.h>
#include <unistd.h>
#include "smtpd.h"
-/* $OpenBSD: mda.c,v 1.145 2023/05/10 07:19:08 op Exp $ */
+/* $OpenBSD: mda.c,v 1.146 2023/05/31 16:51:46 op Exp $ */
/*
* Copyright (c) 2008 Gilles Chehade <gilles@poolp.org>
#include <stdlib.h>
#include <string.h>
#include <sysexits.h>
+#include <time.h>
#include <unistd.h>
#include <vis.h>
-/* $OpenBSD: mta.c,v 1.244 2023/05/16 17:48:52 op Exp $ */
+/* $OpenBSD: mta.c,v 1.245 2023/05/31 16:51:46 op Exp $ */
/*
* Copyright (c) 2008 Pierre-Yves Ritschard <pyr@openbsd.org>
#include <inttypes.h>
#include <stdlib.h>
#include <string.h>
+#include <time.h>
#include <tls.h>
#include "smtpd.h"
-/* $OpenBSD: mta_session.c,v 1.148 2023/05/15 12:03:04 op Exp $ */
+/* $OpenBSD: mta_session.c,v 1.149 2023/05/31 16:51:46 op Exp $ */
/*
* Copyright (c) 2008 Pierre-Yves Ritschard <pyr@openbsd.org>
#include <inttypes.h>
#include <stdlib.h>
#include <string.h>
+#include <time.h>
#include <tls.h>
#include <unistd.h>
-/* $OpenBSD: queue.c,v 1.194 2021/08/02 12:33:34 eric Exp $ */
+/* $OpenBSD: queue.c,v 1.195 2023/05/31 16:51:46 op Exp $ */
/*
* Copyright (c) 2008 Gilles Chehade <gilles@poolp.org>
#include <signal.h>
#include <stdlib.h>
#include <string.h>
+#include <time.h>
#include <unistd.h>
#include "smtpd.h"
-/* $OpenBSD: queue_backend.c,v 1.68 2021/06/14 17:58:16 eric Exp $ */
+/* $OpenBSD: queue_backend.c,v 1.69 2023/05/31 16:51:46 op Exp $ */
/*
* Copyright (c) 2011 Gilles Chehade <gilles@poolp.org>
#include <pwd.h>
#include <stdlib.h>
#include <string.h>
+#include <time.h>
#include <unistd.h>
#include "smtpd.h"
-/* $OpenBSD: queue_fs.c,v 1.22 2021/06/14 17:58:16 eric Exp $ */
+/* $OpenBSD: queue_fs.c,v 1.23 2023/05/31 16:51:46 op Exp $ */
/*
* Copyright (c) 2011 Gilles Chehade <gilles@poolp.org>
#include <pwd.h>
#include <stdlib.h>
#include <string.h>
+#include <time.h>
#include <unistd.h>
#include "smtpd.h"
-/* $OpenBSD: runq.c,v 1.4 2021/06/14 17:58:16 eric Exp $ */
+/* $OpenBSD: runq.c,v 1.5 2023/05/31 16:51:46 op Exp $ */
/*
* Copyright (c) 2013,2019 Eric Faurot <eric@openbsd.org>
*/
#include <stdlib.h>
+#include <time.h>
#include "smtpd.h"
-/* $OpenBSD: scheduler_ramqueue.c,v 1.47 2021/06/14 17:58:16 eric Exp $ */
+/* $OpenBSD: scheduler_ramqueue.c,v 1.48 2023/05/31 16:51:46 op Exp $ */
/*
* Copyright (c) 2012 Gilles Chehade <gilles@poolp.org>
#include <inttypes.h>
#include <stdlib.h>
#include <string.h>
+#include <time.h>
#include "smtpd.h"
#include "log.h"
-/* $OpenBSD: smtp_session.c,v 1.433 2022/10/20 01:16:04 millert Exp $ */
+/* $OpenBSD: smtp_session.c,v 1.434 2023/05/31 16:51:46 op Exp $ */
/*
* Copyright (c) 2008 Gilles Chehade <gilles@poolp.org>
#include <inttypes.h>
#include <stdlib.h>
#include <string.h>
+#include <time.h>
#include <tls.h>
#include <unistd.h>
#include <vis.h>
-/* $OpenBSD: smtpctl.c,v 1.171 2023/05/15 12:03:04 op Exp $ */
+/* $OpenBSD: smtpctl.c,v 1.172 2023/05/31 16:51:46 op Exp $ */
/*
* Copyright (c) 2013 Eric Faurot <eric@openbsd.org>
#include <stdlib.h>
#include <string.h>
#include <syslog.h>
+#include <time.h>
#include <unistd.h>
#include <vis.h>
-/* $OpenBSD: smtpd.c,v 1.344 2023/02/08 08:20:54 tb Exp $ */
+/* $OpenBSD: smtpd.c,v 1.345 2023/05/31 16:51:46 op Exp $ */
/*
* Copyright (c) 2008 Gilles Chehade <gilles@poolp.org>
#include <stdlib.h>
#include <string.h>
#include <sysexits.h>
+#include <time.h>
#include <tls.h>
#include <unistd.h>
-/* $OpenBSD: smtpd.h,v 1.675 2023/05/25 11:37:58 op Exp $ */
+/* $OpenBSD: smtpd.h,v 1.676 2023/05/31 16:51:46 op Exp $ */
/*
* Copyright (c) 2008 Gilles Chehade <gilles@poolp.org>
#include <sys/queue.h>
#include <sys/tree.h>
#include <sys/socket.h>
+#include <sys/time.h>
#include <event.h>
#include <imsg.h>
-/* $OpenBSD: to.c,v 1.49 2023/05/10 08:02:10 op Exp $ */
+/* $OpenBSD: to.c,v 1.50 2023/05/31 16:51:46 op Exp $ */
/*
* Copyright (c) 2009 Jacek Masiulaniec <jacekm@dobremiasto.net>
#include <errno.h>
#include <stdlib.h>
#include <string.h>
+#include <time.h>
#if IO_TLS
#include <tls.h>
#endif