diff options
-rw-r--r-- | libglusterfs/src/compat-errno.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libglusterfs/src/compat-errno.c b/libglusterfs/src/compat-errno.c index 1a7290fe77f..55bf198a091 100644 --- a/libglusterfs/src/compat-errno.c +++ b/libglusterfs/src/compat-errno.c @@ -858,9 +858,11 @@ init_compat_errno_arrays () gf_error_to_errno_array[GF_ERROR_CODE_NOATTR] = ENOATTR; gf_errno_to_error_array[ENOATTR] = GF_ERROR_CODE_NOATTR; +#ifndef __NetBSD__ /* Undefined on NetBSD */ /* EDOOFUS 88 / * Programming error */ gf_error_to_errno_array[GF_ERROR_CODE_DOOFUS] = EDOOFUS; gf_errno_to_error_array[EDOOFUS] = GF_ERROR_CODE_DOOFUS; +#endif /* __NetBSD__ */ /* EBADMSG 89 / * Bad message */ gf_error_to_errno_array[GF_ERROR_CODE_BADMSG] = EBADMSG; |