diff --git a/dlls/ntdll/file.c b/dlls/ntdll/file.c index 85fc85887ae..744e09f103a 100644 --- a/dlls/ntdll/file.c +++ b/dlls/ntdll/file.c @@ -347,7 +347,9 @@ NTSTATUS FILE_GetNtStatus(void) case ECONNRESET:return STATUS_PIPE_DISCONNECTED; case EFAULT: return STATUS_ACCESS_VIOLATION; case ESPIPE: return STATUS_ILLEGAL_FUNCTION; +#ifdef ETIME /* Missing on FreeBSD */ case ETIME: return STATUS_IO_TIMEOUT; +#endif case ENOEXEC: /* ?? */ case EEXIST: /* ?? */ default: