summaryrefslogtreecommitdiffstats
path: root/video/out
diff options
context:
space:
mode:
authorKacper Michajłow <kasper93@gmail.com>2024-05-11 21:11:46 +0200
committerKacper Michajłow <kasper93@gmail.com>2024-05-11 21:34:24 +0200
commit38741452480aeb402d9d02fe906fa7a7a3d6f5d7 (patch)
treef9264d4ff594d1879a113992fa8b979e317e4709 /video/out
parent552c4552a22610386d34ee1ec2e2cd18f83ebd50 (diff)
downloadmpv-38741452480aeb402d9d02fe906fa7a7a3d6f5d7.tar.bz2
mpv-38741452480aeb402d9d02fe906fa7a7a3d6f5d7.tar.xz
hwdec_cuda_vk: add missing io.h include
Fixes compilation on Windows with cuda enabled.
Diffstat (limited to 'video/out')
-rw-r--r--video/out/hwdec/hwdec_cuda_vk.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/video/out/hwdec/hwdec_cuda_vk.c b/video/out/hwdec/hwdec_cuda_vk.c
index f6fc49daa8..e744ff628a 100644
--- a/video/out/hwdec/hwdec_cuda_vk.c
+++ b/video/out/hwdec/hwdec_cuda_vk.c
@@ -25,6 +25,8 @@
#include <libavutil/hwcontext_cuda.h>
#include <libplacebo/vulkan.h>
+#include "osdep/io.h"
+
#if HAVE_WIN32_DESKTOP
#include <versionhelpers.h>
#define HANDLE_TYPE PL_HANDLE_WIN32