From 67d6a0a6195a72bce251891fccbd38929d5586dc Mon Sep 17 00:00:00 2001 From: Amar Tumballi Date: Tue, 1 Dec 2009 20:28:28 +0000 Subject: fixes to compile on MacOSX (no fuse client) These changes are required to make GlusterFS compile on MacOSX (10.5). Currently glusterfs server component alone will work over Mac, and it has to be built with following options to ./configure. "bash$ ./configure --disable-fuse-client --disable-fusermount " Signed-off-by: Amar Tumballi Signed-off-by: Anand V. Avati BUG: 361 (GlusterFS 3.0 should work on Mac OS/X) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=361 --- xlators/cluster/afr/src/afr-self-heal-algorithm.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xlators/cluster/afr/src/afr-self-heal-algorithm.h') diff --git a/xlators/cluster/afr/src/afr-self-heal-algorithm.h b/xlators/cluster/afr/src/afr-self-heal-algorithm.h index 9995ee20bd3..7ef324477e1 100644 --- a/xlators/cluster/afr/src/afr-self-heal-algorithm.h +++ b/xlators/cluster/afr/src/afr-self-heal-algorithm.h @@ -29,7 +29,7 @@ struct afr_sh_algorithm { afr_sh_algo_fn fn; }; -struct afr_sh_algorithm afr_self_heal_algorithms[3]; +extern struct afr_sh_algorithm afr_self_heal_algorithms[3]; typedef struct { gf_lock_t lock; -- cgit