dovecot-2.1: Fix the build failure on AIX

dovecot at dovecot.org dovecot at dovecot.org
Tue May 1 03:49:27 EEST 2012


details:   http://hg.dovecot.org/dovecot-2.1/rev/d5bbb1d203c5
changeset: 14495:d5bbb1d203c5
user:      SATOH Fumiyasu <fumiyas at osstech.co.jp>
date:      Fri Apr 27 16:47:30 2012 +0900
description:
Fix the build failure on AIX

diffstat:

 src/lib-storage/index/index-search-private.h |  2 ++
 src/plugins/stats/stats-plugin.h             |  2 ++
 2 files changed, 4 insertions(+), 0 deletions(-)

diffs (24 lines):

diff -r 3bb6d153c9c3 -r d5bbb1d203c5 src/lib-storage/index/index-search-private.h
--- a/src/lib-storage/index/index-search-private.h	Tue May 01 03:15:46 2012 +0300
+++ b/src/lib-storage/index/index-search-private.h	Fri Apr 27 16:47:30 2012 +0900
@@ -3,6 +3,8 @@
 
 #include "mail-storage-private.h"
 
+#include <sys/time.h>
+
 struct index_search_context {
         struct mail_search_context mail_ctx;
 	struct mail_index_view *view;
diff -r 3bb6d153c9c3 -r d5bbb1d203c5 src/plugins/stats/stats-plugin.h
--- a/src/plugins/stats/stats-plugin.h	Tue May 01 03:15:46 2012 +0300
+++ b/src/plugins/stats/stats-plugin.h	Fri Apr 27 16:47:30 2012 +0900
@@ -6,6 +6,8 @@
 #include "mail-user.h"
 #include "mail-storage-private.h"
 
+#include <sys/time.h>
+
 #define STATS_USER_CONTEXT(obj) \
 	MODULE_CONTEXT(obj, stats_user_module)
 


More information about the dovecot-cvs mailing list