dovecot-2.2: stats: Fixed compiling with some OSes.

dovecot at dovecot.org dovecot at dovecot.org
Thu Apr 16 10:00:33 UTC 2015


details:   http://hg.dovecot.org/dovecot-2.2/rev/736730cf45f0
changeset: 18406:736730cf45f0
user:      Timo Sirainen <tss at iki.fi>
date:      Thu Apr 16 12:59:05 2015 +0300
description:
stats: Fixed compiling with some OSes.
struct timeval wasn't necessarily already defined by existing includes.

diffstat:

 src/stats/mail-stats.h |  2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diffs (12 lines):

diff -r 7c90285a72a6 -r 736730cf45f0 src/stats/mail-stats.h
--- a/src/stats/mail-stats.h	Thu Apr 16 11:46:22 2015 +0300
+++ b/src/stats/mail-stats.h	Thu Apr 16 12:59:05 2015 +0300
@@ -1,6 +1,8 @@
 #ifndef MAIL_STATS_H
 #define MAIL_STATS_H
 
+#include <sys/time.h>
+
 #include "net.h"
 #include "guid.h"
 #include "stats.h"


More information about the dovecot-cvs mailing list