summaryrefslogtreecommitdiff
path: root/usr.sbin/smtpd/control.c
diff options
context:
space:
mode:
authorOmar Polo <op@cvs.openbsd.org>2023-05-31 16:51:47 +0000
committerOmar Polo <op@cvs.openbsd.org>2023-05-31 16:51:47 +0000
commit0a1590a0382291453ba151cb627d2dc6747230db (patch)
treed0cf8ee35d0de1cd09ed0a2b6f7622b2e6066c6c /usr.sbin/smtpd/control.c
parent91247f9c3d94d66c1f88ea2a804789e29bf70e66 (diff)
add missing include of time.h
spotted after a report on OpenSMTPD-portable. While here include sys/time.h in smtpd.h, as noted in event_init(3), since it includes event.h. ok millert@
Diffstat (limited to 'usr.sbin/smtpd/control.c')
-rw-r--r--usr.sbin/smtpd/control.c3
1 files changed, 2 insertions, 1 deletions
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"