From: Tim Clem <tclem@codeweavers.com> This regressed in 414304658e5, causing a syscall fault from the missing Unix call on non-Linux platforms. --- dlls/avicap32/v4l.c | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/dlls/avicap32/v4l.c b/dlls/avicap32/v4l.c index 4f3a162c838..49a4ddd8d4a 100644 --- a/dlls/avicap32/v4l.c +++ b/dlls/avicap32/v4l.c @@ -125,6 +125,15 @@ static NTSTATUS get_device_desc(void *args) return STATUS_UNSUCCESSFUL; } +#else /* HAVE_LINUX_VIDEODEV2_H */ + +static NTSTATUS get_device_desc(void *args) +{ + return STATUS_NOT_IMPLEMENTED; +} + +#endif /* HAVE_LINUX_VIDEODEV2_H */ + const unixlib_entry_t __wine_unix_call_funcs[] = { get_device_desc, @@ -138,5 +147,3 @@ const unixlib_entry_t __wine_unix_call_wow64_funcs[] = }; #endif /* _WIN64 */ - -#endif /* HAVE_LINUX_VIDEODEV2_H */ -- GitLab https://gitlab.winehq.org/wine/wine/-/merge_requests/10112