summaryrefslogtreecommitdiff
path: root/usr.sbin/smtpd/smtpd.c
diff options
context:
space:
mode:
authorCharles Longeau <chl@cvs.openbsd.org>2011-08-26 14:39:48 +0000
committerCharles Longeau <chl@cvs.openbsd.org>2011-08-26 14:39:48 +0000
commit6677791a7a51ab93b380bb12b02b1e324d9469ab (patch)
tree460d03c06503c2f5979062ec55475e32253c9b1d /usr.sbin/smtpd/smtpd.c
parent60a7baf958763adc2c2565dc6839001a54ac29a1 (diff)
add missing header needed by time()
ok gilles@
Diffstat (limited to 'usr.sbin/smtpd/smtpd.c')
-rw-r--r--usr.sbin/smtpd/smtpd.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/smtpd/smtpd.c b/usr.sbin/smtpd/smtpd.c
index a8333ed159f..f98313ba1c1 100644
--- a/usr.sbin/smtpd/smtpd.c
+++ b/usr.sbin/smtpd/smtpd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: smtpd.c,v 1.126 2011/05/17 18:54:32 gilles Exp $ */
+/* $OpenBSD: smtpd.c,v 1.127 2011/08/26 14:39:47 chl Exp $ */
/*
* Copyright (c) 2008 Gilles Chehade <gilles@openbsd.org>
@@ -39,6 +39,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
+#include <time.h>
#include <unistd.h>
#include "smtpd.h"