summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarshavardhana <harsha@harshavardhana.net>2014-07-16 15:49:48 -0700
committerHarshavardhana <harsha@harshavardhana.net>2014-07-22 09:50:58 -0700
commitb1cf59bf134105de678f42e96b3c96fd62d7f224 (patch)
treeb83c525a24f7beda02de1780a409485d7ddee936
parent56ffb164743449897f1cdecd3dbe085a0f0a66d7 (diff)
porting: include compat-errno.h for errno's
disperse module fails to compile since ENODATA is non-existent on FreeBSD/Darwin Use errno conversion in compat-errno.h to avoid build issues. Change-Id: I8203b7195c198c77202bde9bbec1813a487f923a BUG: 1111774 Signed-off-by: Harshavardhana <harsha@harshavardhana.net> Reviewed-on: http://review.gluster.org/8320 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Humble Devassy Chirammal <humble.devassy@gmail.com>
-rw-r--r--xlators/cluster/ec/src/ec-heal.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/xlators/cluster/ec/src/ec-heal.c b/xlators/cluster/ec/src/ec-heal.c
index 22d4f89d4dd..f6ee0076373 100644
--- a/xlators/cluster/ec/src/ec-heal.c
+++ b/xlators/cluster/ec/src/ec-heal.c
@@ -20,6 +20,7 @@
#include "xlator.h"
#include "defaults.h"
+#include "compat-errno.h"
#include "ec-helpers.h"
#include "ec-common.h"