diff options
Diffstat (limited to 'xlators/cluster/ec/src/ec-helpers.c')
-rw-r--r-- | xlators/cluster/ec/src/ec-helpers.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/xlators/cluster/ec/src/ec-helpers.c b/xlators/cluster/ec/src/ec-helpers.c index 771faf5b013..cd0ac41ebe7 100644 --- a/xlators/cluster/ec/src/ec-helpers.c +++ b/xlators/cluster/ec/src/ec-helpers.c @@ -37,6 +37,10 @@ #define TOP_BIT (ONE << (PRESENT_D_OFF_BITS - 1)) #define SHIFT_BITS (max(0, (BACKEND_D_OFF_BITS - PRESENT_D_OFF_BITS + 1))) +#ifndef ffsll +#define ffsll(x) __builtin_ffsll(x) +#endif + static const char * ec_fop_list[] = { [-EC_FOP_HEAL] = "HEAL" |