summaryrefslogtreecommitdiff
path: root/usr.sbin/smtpd
diff options
context:
space:
mode:
authorCharles Longeau <chl@cvs.openbsd.org>2009-11-11 10:04:06 +0000
committerCharles Longeau <chl@cvs.openbsd.org>2009-11-11 10:04:06 +0000
commit5edef8cb541b0474cfe683e527728ba62857d252 (patch)
tree3588b6b450850c4e5b76740536e9d7044bb00abe /usr.sbin/smtpd
parente9562d24870837453ece1ae7898fdf93f9ac66ab (diff)
add missing headers needed by time()
ok jacekm@
Diffstat (limited to 'usr.sbin/smtpd')
-rw-r--r--usr.sbin/smtpd/bounce.c3
-rw-r--r--usr.sbin/smtpd/mda.c3
-rw-r--r--usr.sbin/smtpd/mta.c3
3 files changed, 6 insertions, 3 deletions
diff --git a/usr.sbin/smtpd/bounce.c b/usr.sbin/smtpd/bounce.c
index 9c6e1a10da0..2293db048d6 100644
--- a/usr.sbin/smtpd/bounce.c
+++ b/usr.sbin/smtpd/bounce.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: bounce.c,v 1.11 2009/11/05 12:08:41 jsing Exp $ */
+/* $OpenBSD: bounce.c,v 1.12 2009/11/11 10:04:05 chl Exp $ */
/*
* Copyright (c) 2009 Gilles Chehade <gilles@openbsd.org>
@@ -30,6 +30,7 @@
#include <stdio.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 39c719c176f..e29dbe5e1bd 100644
--- a/usr.sbin/smtpd/mda.c
+++ b/usr.sbin/smtpd/mda.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mda.c,v 1.30 2009/09/23 09:40:39 jacekm Exp $ */
+/* $OpenBSD: mda.c,v 1.31 2009/11/11 10:04:05 chl Exp $ */
/*
* Copyright (c) 2008 Gilles Chehade <gilles@openbsd.org>
@@ -30,6 +30,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
+#include <time.h>
#include <unistd.h>
#include "smtpd.h"
diff --git a/usr.sbin/smtpd/mta.c b/usr.sbin/smtpd/mta.c
index 1f73f677eb6..0c593f1c3c3 100644
--- a/usr.sbin/smtpd/mta.c
+++ b/usr.sbin/smtpd/mta.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mta.c,v 1.74 2009/11/05 12:11:53 jsing Exp $ */
+/* $OpenBSD: mta.c,v 1.75 2009/11/11 10:04:05 chl Exp $ */
/*
* Copyright (c) 2008 Pierre-Yves Ritschard <pyr@openbsd.org>
@@ -35,6 +35,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
+#include <time.h>
#include <unistd.h>
#include "smtpd.h"