dovecot-2.0: Compiling fix.

dovecot at dovecot.org dovecot at dovecot.org
Mon Sep 7 18:59:36 EEST 2009


details:   http://hg.dovecot.org/dovecot-2.0/rev/21612b2b7b85
changeset: 9897:21612b2b7b85
user:      Timo Sirainen <tss at iki.fi>
date:      Mon Sep 07 11:59:28 2009 -0400
description:
Compiling fix.

diffstat:

2 files changed, 2 insertions(+), 2 deletions(-)
src/lib/time-util.c |    2 --
src/lib/time-util.h |    2 ++

diffs (23 lines):

diff -r 7675eb23bba8 -r 21612b2b7b85 src/lib/time-util.c
--- a/src/lib/time-util.c	Mon Sep 07 11:57:38 2009 -0400
+++ b/src/lib/time-util.c	Mon Sep 07 11:59:28 2009 -0400
@@ -2,8 +2,6 @@
 
 #include "lib.h"
 #include "time-util.h"
-
-#include <sys/time.h>
 
 int timeval_cmp(const struct timeval *tv1, const struct timeval *tv2)
 {
diff -r 7675eb23bba8 -r 21612b2b7b85 src/lib/time-util.h
--- a/src/lib/time-util.h	Mon Sep 07 11:57:38 2009 -0400
+++ b/src/lib/time-util.h	Mon Sep 07 11:59:28 2009 -0400
@@ -1,5 +1,7 @@
 #ifndef TIME_UTIL_H
 #define TIME_UTIL_H
+
+#include <sys/time.h> /* for struct timeval */
 
 /* Returns -1 if tv1<tv2, 1 if tv1>tv2, 0 if they're equal. */
 int timeval_cmp(const struct timeval *tv1, const struct timeval *tv2);


More information about the dovecot-cvs mailing list