summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--usr.sbin/smtpd/bounce.c3
-rw-r--r--usr.sbin/smtpd/control.c3
-rw-r--r--usr.sbin/smtpd/enqueue.c3
-rw-r--r--usr.sbin/smtpd/mda.c3
-rw-r--r--usr.sbin/smtpd/mta.c3
-rw-r--r--usr.sbin/smtpd/mta_session.c3
-rw-r--r--usr.sbin/smtpd/queue.c3
-rw-r--r--usr.sbin/smtpd/queue_backend.c3
-rw-r--r--usr.sbin/smtpd/queue_fs.c3
-rw-r--r--usr.sbin/smtpd/runq.c3
-rw-r--r--usr.sbin/smtpd/scheduler_ramqueue.c3
-rw-r--r--usr.sbin/smtpd/smtp_session.c3
-rw-r--r--usr.sbin/smtpd/smtpctl.c3
-rw-r--r--usr.sbin/smtpd/smtpd.c3
-rw-r--r--usr.sbin/smtpd/smtpd.h3
-rw-r--r--usr.sbin/smtpd/to.c3
16 files changed, 32 insertions, 16 deletions
diff --git a/usr.sbin/smtpd/bounce.c b/usr.sbin/smtpd/bounce.c
index 61e7b037bd9..6d632264afe 100644
--- a/usr.sbin/smtpd/bounce.c
+++ b/usr.sbin/smtpd/bounce.c
@@ -1,4 +1,4 @@
-/* $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>
@@ -22,6 +22,7 @@
#include <inttypes.h>
#include <stdlib.h>
#include <string.h>
+#include <time.h>
#include <unistd.h>
#include "smtpd.h"
diff --git a/usr.sbin/smtpd/control.c b/usr.sbin/smtpd/control.c
index 835ab5520ee..8e50393b000 100644
--- a/usr.sbin/smtpd/control.c
+++ b/usr.sbin/smtpd/control.c
@@ -1,4 +1,4 @@
-/* $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>
@@ -26,6 +26,7 @@
#include <signal.h>
#include <stdlib.h>
#include <string.h>
+#include <time.h>
#include <unistd.h>
#include "smtpd.h"
diff --git a/usr.sbin/smtpd/enqueue.c b/usr.sbin/smtpd/enqueue.c
index c90b60d2bb3..95e6c04a478 100644
--- a/usr.sbin/smtpd/enqueue.c
+++ b/usr.sbin/smtpd/enqueue.c
@@ -1,4 +1,4 @@
-/* $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>
@@ -24,6 +24,7 @@
#include <pwd.h>
#include <stdlib.h>
#include <string.h>
+#include <time.h>
#include <unistd.h>
#include "smtpd.h"
diff --git a/usr.sbin/smtpd/mda.c b/usr.sbin/smtpd/mda.c
index 894bf865a76..bdc695f1b6d 100644
--- a/usr.sbin/smtpd/mda.c
+++ b/usr.sbin/smtpd/mda.c
@@ -1,4 +1,4 @@
-/* $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>
@@ -24,6 +24,7 @@
#include <stdlib.h>
#include <string.h>
#include <sysexits.h>
+#include <time.h>
#include <unistd.h>
#include <vis.h>
diff --git a/usr.sbin/smtpd/mta.c b/usr.sbin/smtpd/mta.c
index 05506da1dbe..c0d0fc02931 100644
--- a/usr.sbin/smtpd/mta.c
+++ b/usr.sbin/smtpd/mta.c
@@ -1,4 +1,4 @@
-/* $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>
@@ -22,6 +22,7 @@
#include <inttypes.h>
#include <stdlib.h>
#include <string.h>
+#include <time.h>
#include <tls.h>
#include "smtpd.h"
diff --git a/usr.sbin/smtpd/mta_session.c b/usr.sbin/smtpd/mta_session.c
index 92f1ec7705d..160b41d30b8 100644
--- a/usr.sbin/smtpd/mta_session.c
+++ b/usr.sbin/smtpd/mta_session.c
@@ -1,4 +1,4 @@
-/* $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>
@@ -26,6 +26,7 @@
#include <inttypes.h>
#include <stdlib.h>
#include <string.h>
+#include <time.h>
#include <tls.h>
#include <unistd.h>
diff --git a/usr.sbin/smtpd/queue.c b/usr.sbin/smtpd/queue.c
index e79e3f06be4..ad7980d5715 100644
--- a/usr.sbin/smtpd/queue.c
+++ b/usr.sbin/smtpd/queue.c
@@ -1,4 +1,4 @@
-/* $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>
@@ -23,6 +23,7 @@
#include <signal.h>
#include <stdlib.h>
#include <string.h>
+#include <time.h>
#include <unistd.h>
#include "smtpd.h"
diff --git a/usr.sbin/smtpd/queue_backend.c b/usr.sbin/smtpd/queue_backend.c
index 646cd629879..78f39521ab6 100644
--- a/usr.sbin/smtpd/queue_backend.c
+++ b/usr.sbin/smtpd/queue_backend.c
@@ -1,4 +1,4 @@
-/* $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>
@@ -23,6 +23,7 @@
#include <pwd.h>
#include <stdlib.h>
#include <string.h>
+#include <time.h>
#include <unistd.h>
#include "smtpd.h"
diff --git a/usr.sbin/smtpd/queue_fs.c b/usr.sbin/smtpd/queue_fs.c
index ec539eb9e11..83e2d3f114b 100644
--- a/usr.sbin/smtpd/queue_fs.c
+++ b/usr.sbin/smtpd/queue_fs.c
@@ -1,4 +1,4 @@
-/* $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>
@@ -28,6 +28,7 @@
#include <pwd.h>
#include <stdlib.h>
#include <string.h>
+#include <time.h>
#include <unistd.h>
#include "smtpd.h"
diff --git a/usr.sbin/smtpd/runq.c b/usr.sbin/smtpd/runq.c
index 24ca71ca9ee..a37b490b7c1 100644
--- a/usr.sbin/smtpd/runq.c
+++ b/usr.sbin/smtpd/runq.c
@@ -1,4 +1,4 @@
-/* $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>
@@ -17,6 +17,7 @@
*/
#include <stdlib.h>
+#include <time.h>
#include "smtpd.h"
diff --git a/usr.sbin/smtpd/scheduler_ramqueue.c b/usr.sbin/smtpd/scheduler_ramqueue.c
index fa3b951bc77..473eb6541e0 100644
--- a/usr.sbin/smtpd/scheduler_ramqueue.c
+++ b/usr.sbin/smtpd/scheduler_ramqueue.c
@@ -1,4 +1,4 @@
-/* $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>
@@ -20,6 +20,7 @@
#include <inttypes.h>
#include <stdlib.h>
#include <string.h>
+#include <time.h>
#include "smtpd.h"
#include "log.h"
diff --git a/usr.sbin/smtpd/smtp_session.c b/usr.sbin/smtpd/smtp_session.c
index 72e13e8fd8d..1686f03e96d 100644
--- a/usr.sbin/smtpd/smtp_session.c
+++ b/usr.sbin/smtpd/smtp_session.c
@@ -1,4 +1,4 @@
-/* $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>
@@ -24,6 +24,7 @@
#include <inttypes.h>
#include <stdlib.h>
#include <string.h>
+#include <time.h>
#include <tls.h>
#include <unistd.h>
#include <vis.h>
diff --git a/usr.sbin/smtpd/smtpctl.c b/usr.sbin/smtpd/smtpctl.c
index 84663025648..8881c3e54cd 100644
--- a/usr.sbin/smtpd/smtpctl.c
+++ b/usr.sbin/smtpd/smtpctl.c
@@ -1,4 +1,4 @@
-/* $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>
@@ -32,6 +32,7 @@
#include <stdlib.h>
#include <string.h>
#include <syslog.h>
+#include <time.h>
#include <unistd.h>
#include <vis.h>
diff --git a/usr.sbin/smtpd/smtpd.c b/usr.sbin/smtpd/smtpd.c
index 5949ce05522..0bd24de8a65 100644
--- a/usr.sbin/smtpd/smtpd.c
+++ b/usr.sbin/smtpd/smtpd.c
@@ -1,4 +1,4 @@
-/* $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>
@@ -36,6 +36,7 @@
#include <stdlib.h>
#include <string.h>
#include <sysexits.h>
+#include <time.h>
#include <tls.h>
#include <unistd.h>
diff --git a/usr.sbin/smtpd/smtpd.h b/usr.sbin/smtpd/smtpd.h
index 65757e517fd..397f3df57df 100644
--- a/usr.sbin/smtpd/smtpd.h
+++ b/usr.sbin/smtpd/smtpd.h
@@ -1,4 +1,4 @@
-/* $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>
@@ -25,6 +25,7 @@
#include <sys/queue.h>
#include <sys/tree.h>
#include <sys/socket.h>
+#include <sys/time.h>
#include <event.h>
#include <imsg.h>
diff --git a/usr.sbin/smtpd/to.c b/usr.sbin/smtpd/to.c
index 4a5c692e950..be9ff01417c 100644
--- a/usr.sbin/smtpd/to.c
+++ b/usr.sbin/smtpd/to.c
@@ -1,4 +1,4 @@
-/* $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>
@@ -23,6 +23,7 @@
#include <errno.h>
#include <stdlib.h>
#include <string.h>
+#include <time.h>
#if IO_TLS
#include <tls.h>
#endif