diff options
author | Charles Longeau <chl@cvs.openbsd.org> | 2009-11-13 20:34:52 +0000 |
---|---|---|
committer | Charles Longeau <chl@cvs.openbsd.org> | 2009-11-13 20:34:52 +0000 |
commit | 750113cd50e6e0756d40eaf9d929ace22ff84a05 (patch) | |
tree | f86654ee250eecb3b698c932c296e3171bb204f6 | |
parent | 05b6afeb4021eb2e6f9fc778b0fc22ae6786a00d (diff) |
add missing headers needed by time()
ok jacekm@
-rw-r--r-- | usr.sbin/smtpd/enqueue.c | 3 | ||||
-rw-r--r-- | usr.sbin/smtpd/smtpctl.c | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/usr.sbin/smtpd/enqueue.c b/usr.sbin/smtpd/enqueue.c index 87ed3035892..4f4cc9c76ce 100644 --- a/usr.sbin/smtpd/enqueue.c +++ b/usr.sbin/smtpd/enqueue.c @@ -1,4 +1,4 @@ -/* $OpenBSD: enqueue.c,v 1.25 2009/11/08 21:40:05 gilles Exp $ */ +/* $OpenBSD: enqueue.c,v 1.26 2009/11/13 20:34:51 chl Exp $ */ /* * Copyright (c) 2005 Henning Brauer <henning@bulabula.org> @@ -34,6 +34,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/smtpctl.c b/usr.sbin/smtpd/smtpctl.c index a085aaeb1fc..ec3043506a6 100644 --- a/usr.sbin/smtpd/smtpctl.c +++ b/usr.sbin/smtpd/smtpctl.c @@ -1,4 +1,4 @@ -/* $OpenBSD: smtpctl.c,v 1.39 2009/10/25 19:46:31 gilles Exp $ */ +/* $OpenBSD: smtpctl.c,v 1.40 2009/11/13 20:34:51 chl Exp $ */ /* * Copyright (c) 2006 Pierre-Yves Ritschard <pyr@openbsd.org> @@ -37,6 +37,7 @@ #include <stdio.h> #include <stdlib.h> #include <string.h> +#include <time.h> #include <unistd.h> #include <event.h> |