diff options
author | Vikas Gorur <vikas@gluster.com> | 2009-11-24 10:08:54 +0000 |
---|---|---|
committer | Anand V. Avati <avati@dev.gluster.com> | 2009-11-26 02:48:42 -0800 |
commit | 2517ec18aeae5d6952aace778dacdd1cde93efe0 (patch) | |
tree | 211d3576a24e0633d3b4e9989c3d51dc39293c40 /xlators/cluster | |
parent | 1c6a55b04c418106cf2be5156fa8e53b1adaa1b4 (diff) |
cluster/afr: Include "common-utils.h" instead of alloca.h
alloca.h should be included on a platform-specific basis.
Lets common-utils.h handle that.
Signed-off-by: Vikas Gorur <vikas@gluster.com>
Signed-off-by: Anand V. Avati <avati@dev.gluster.com>
BUG: 349 (FreeBSD compilation error (alloca.h).)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=349
Diffstat (limited to 'xlators/cluster')
-rw-r--r-- | xlators/cluster/afr/src/afr-transaction.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/cluster/afr/src/afr-transaction.c b/xlators/cluster/afr/src/afr-transaction.c index 1b43c6d81fc..e88356bb60d 100644 --- a/xlators/cluster/afr/src/afr-transaction.c +++ b/xlators/cluster/afr/src/afr-transaction.c @@ -19,12 +19,12 @@ #include "dict.h" #include "byte-order.h" +#include "common-utils.h" #include "afr.h" #include "afr-transaction.h" #include <signal.h> -#include <alloca.h> #define LOCKED_NO 0x0 /* no lock held */ |