57b353ec6a
There's no unistd.h on Windows, let's not include it unconditionally. But we also don't want to deal with DRM modifiers or DMABUFs on Windows, so let's also ifdef out the rest of that stuff. Fixes:a8b009aed6("vulkan/wsi: fix missing unistd include") Fixes:c72ff19a9e("vulkan/wsi: Close file descriptors in wsi_destroy_image") Reviewed-By: Yonggang Luo <luoyonggang@gmail.com> Acked-by: Boris Brezillon <boris.brezillon@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16373>