aboutsummaryrefslogtreecommitdiffhomepage
path: root/video
diff options
context:
space:
mode:
Diffstat (limited to 'video')
-rw-r--r--video/out/opengl/hwdec_cuda.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/video/out/opengl/hwdec_cuda.c b/video/out/opengl/hwdec_cuda.c
index af7ea6ca48..fee1f83f98 100644
--- a/video/out/opengl/hwdec_cuda.c
+++ b/video/out/opengl/hwdec_cuda.c
@@ -32,12 +32,17 @@
#include <libavutil/hwcontext_cuda.h>
#include "video/out/gpu/hwdec.h"
+#include "video/out/gpu/utils.h"
#include "formats.h"
#include "options/m_config.h"
+#if HAVE_GL
#include "ra_gl.h"
+#endif
+#if HAVE_VULKAN
#include "video/out/vulkan/formats.h"
#include "video/out/vulkan/ra_vk.h"
#include "video/out/vulkan/utils.h"
+#endif
#if HAVE_WIN32_DESKTOP
#include <versionhelpers.h>