From 561a02d646b3a43014db7814f3af91d1f67110b2 Mon Sep 17 00:00:00 2001 From: Tim Potter Date: Fri, 9 Sep 2005 04:21:19 +0000 Subject: r10103: Put an #ifdef guard around ENOTSUP to fix systems that don't have it (OpenBSD 3.7). (This used to be commit cc24af6545b19ad7710c43399c396e1807f80eeb) --- source4/libcli/util/errormap.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source4/libcli/util') 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 -- cgit