diff options
author | Omar Polo <op@cvs.openbsd.org> | 2023-05-31 16:51:47 +0000 |
---|---|---|
committer | Omar Polo <op@cvs.openbsd.org> | 2023-05-31 16:51:47 +0000 |
commit | 0a1590a0382291453ba151cb627d2dc6747230db (patch) | |
tree | d0cf8ee35d0de1cd09ed0a2b6f7622b2e6066c6c /usr.sbin/smtpd/control.c | |
parent | 91247f9c3d94d66c1f88ea2a804789e29bf70e66 (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.c | 3 |
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" |