summaryrefslogtreecommitdiffstats
path: root/libglusterfs/src
diff options
context:
space:
mode:
Diffstat (limited to 'libglusterfs/src')
-rw-r--r--libglusterfs/src/compat-errno.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/libglusterfs/src/compat-errno.h b/libglusterfs/src/compat-errno.h
index 6f46157e697..5ee1d18f823 100644
--- a/libglusterfs/src/compat-errno.h
+++ b/libglusterfs/src/compat-errno.h
@@ -217,6 +217,11 @@
#define EBADFD EBADRPC
#endif /* EBADFD */
+#if !defined(ENODATA)
+/* This happens on FreeBSD. Value borrowed from Linux. */
+#define ENODATA 61
+#endif
+
/* These functions are defined for all the OS flags, but content will
* be different for each OS flag.
*/