summaryrefslogtreecommitdiff
path: root/usr.sbin/smtpd/smtp.c
diff options
context:
space:
mode:
authorCharles Longeau <chl@cvs.openbsd.org>2008-11-17 21:56:19 +0000
committerCharles Longeau <chl@cvs.openbsd.org>2008-11-17 21:56:19 +0000
commitfd14d8382c552c6027388454164124b7bd31b4f7 (patch)
tree39f114810d1ac0965d3b6aabd464b65f9e4de47d /usr.sbin/smtpd/smtp.c
parentfa314e7784e506ce18264fd18adeba23bdf66608 (diff)
add missing header needed by time(), ctime_r() and tzset().
ok gilles@
Diffstat (limited to 'usr.sbin/smtpd/smtp.c')
-rw-r--r--usr.sbin/smtpd/smtp.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/smtpd/smtp.c b/usr.sbin/smtpd/smtp.c
index 268494f17ff..dc1aaa199fc 100644
--- a/usr.sbin/smtpd/smtp.c
+++ b/usr.sbin/smtpd/smtp.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: smtp.c,v 1.5 2008/11/13 23:24:19 gilles Exp $ */
+/* $OpenBSD: smtp.c,v 1.6 2008/11/17 21:56:18 chl Exp $ */
/*
* Copyright (c) 2008 Gilles Chehade <gilles@openbsd.org>
@@ -31,6 +31,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
+#include <time.h>
#include <unistd.h>
#include "smtpd.h"