dovecot-2.1: Compile fix for OSX.

dovecot at dovecot.org dovecot at dovecot.org
Sat Nov 19 21:48:26 EET 2011


details:   http://hg.dovecot.org/dovecot-2.1/rev/b2c9298e981a
changeset: 13731:b2c9298e981a
user:      Timo Sirainen <tss at iki.fi>
date:      Sat Nov 19 21:48:14 2011 +0200
description:
Compile fix for OSX.

diffstat:

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

diffs (12 lines):

diff -r 338f35625e06 -r b2c9298e981a src/lib/env-util.c
--- a/src/lib/env-util.c	Sat Nov 19 05:06:10 2011 +0200
+++ b/src/lib/env-util.c	Sat Nov 19 21:48:14 2011 +0200
@@ -59,7 +59,7 @@
 	if (clearenv() < 0)
 		i_fatal("clearenv() failed");
 #else
-	extern char **environ;
+	char **environ = *env_get_environ_p();
 
 	/* Try to clear the environment.
 


More information about the dovecot-cvs mailing list