summaryrefslogtreecommitdiff
path: root/usr.sbin/smtpd/delivery_filename.c
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/smtpd/delivery_filename.c
parent0a4d4da82e5522669fbcb31401c3c4cb4ce0a3fc (diff)
add missing header needed by time()
ok gilles@
Diffstat (limited to 'usr.sbin/smtpd/delivery_filename.c')
-rw-r--r--usr.sbin/smtpd/delivery_filename.c3
1 files changed, 2 insertions, 1 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"