summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorCharles Longeau <chl@cvs.openbsd.org>2012-05-25 13:51:43 +0000
committerCharles Longeau <chl@cvs.openbsd.org>2012-05-25 13:51:43 +0000
commit23fe5d88db0ed6d3d79a6984c094d9f55960d5d3 (patch)
tree54324e2ba9e97f2d50333a643a2c8a8a2382344a /usr.sbin
parent0a4d4da82e5522669fbcb31401c3c4cb4ce0a3fc (diff)
add missing header needed by time()
ok gilles@
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/smtpd/delivery_filename.c3
-rw-r--r--usr.sbin/smtpd/delivery_maildir.c3
-rw-r--r--usr.sbin/smtpd/scheduler_ramqueue.c3
3 files changed, 6 insertions, 3 deletions
diff --git a/usr.sbin/smtpd/delivery_filename.c b/usr.sbin/smtpd/delivery_filename.c
index 9aade66b729..fa013f89971 100644
--- a/usr.sbin/smtpd/delivery_filename.c
+++ b/usr.sbin/smtpd/delivery_filename.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: delivery_filename.c,v 1.4 2012/03/07 23:04:00 gilles Exp $ */
+/* $OpenBSD: delivery_filename.c,v 1.5 2012/05/25 13:51:41 chl Exp $ */
/*
* Copyright (c) 2011 Gilles Chehade <gilles@openbsd.org>
@@ -33,6 +33,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/delivery_maildir.c b/usr.sbin/smtpd/delivery_maildir.c
index b58c12450bd..501a72ebc92 100644
--- a/usr.sbin/smtpd/delivery_maildir.c
+++ b/usr.sbin/smtpd/delivery_maildir.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: delivery_maildir.c,v 1.5 2012/03/07 23:04:00 gilles Exp $ */
+/* $OpenBSD: delivery_maildir.c,v 1.6 2012/05/25 13:51:42 chl Exp $ */
/*
* Copyright (c) 2011 Gilles Chehade <gilles@openbsd.org>
@@ -33,6 +33,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/scheduler_ramqueue.c b/usr.sbin/smtpd/scheduler_ramqueue.c
index 5ab1fd44719..14f90695539 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.7 2012/04/15 12:12:35 chl Exp $ */
+/* $OpenBSD: scheduler_ramqueue.c,v 1.8 2012/05/25 13:51:42 chl Exp $ */
/*
* Copyright (c) 2012 Gilles Chehade <gilles@openbsd.org>
@@ -31,6 +31,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
+#include <time.h>
#include "smtpd.h"
#include "log.h"