summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
Diffstat (limited to 'source4')
-rw-r--r--source4/libcli/util/errormap.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source4/libcli/util/errormap.c b/source4/libcli/util/errormap.c
index 808f5427c6..95fac97428 100644
--- a/source4/libcli/util/errormap.c
+++ b/source4/libcli/util/errormap.c
@@ -1278,7 +1278,9 @@ const struct unix_error_map unix_nt_errmap[] = {
{ EPIPE, NT_STATUS_CONNECTION_DISCONNECTED },
{ ECONNREFUSED, NT_STATUS_CONNECTION_REFUSED },
{ EBUSY, NT_STATUS_SHARING_VIOLATION },
+#ifdef ENOTSUP
{ ENOTSUP, NT_STATUS_NOT_SUPPORTED},
+#endif
#ifdef EHOSTUNREACH
{ EHOSTUNREACH, NT_STATUS_HOST_UNREACHABLE },
#endif