]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
stats: Fixed compiling with some OSes.
authorTimo Sirainen <tss@iki.fi>
Thu, 16 Apr 2015 09:59:05 +0000 (12:59 +0300)
committerTimo Sirainen <tss@iki.fi>
Thu, 16 Apr 2015 09:59:05 +0000 (12:59 +0300)
struct timeval wasn't necessarily already defined by existing includes.

src/stats/mail-stats.h

index 8aacb3c9818879e765904a5c5b2706742cf86246..045dd64f33d47b7fb91e8826a0ee6e27fee29682 100644 (file)
@@ -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"