From 7ae9cf813612ac9dedbe345e31d706d61d9a8a6c Mon Sep 17 00:00:00 2001 From: Nirbheek Chauhan Date: Mon, 27 May 2024 18:43:33 +0530 Subject: [PATCH] va: Fix libdrm include The libdrm/ prefix should not be used, it will be provided by the pkgconfig file. Also HAVE_LIBDRM is necessary. Part-of: --- .../gst-plugins-bad/gst-libs/gst/va/gstvavideoformat.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/subprojects/gst-plugins-bad/gst-libs/gst/va/gstvavideoformat.h b/subprojects/gst-plugins-bad/gst-libs/gst/va/gstvavideoformat.h index 43b61352bf..327478a374 100644 --- a/subprojects/gst-plugins-bad/gst-libs/gst/va/gstvavideoformat.h +++ b/subprojects/gst-plugins-bad/gst-libs/gst/va/gstvavideoformat.h @@ -25,8 +25,8 @@ #include #include -#ifndef G_OS_WIN32 -#include +#ifdef HAVE_LIBDRM +#include #else /** * DRM_FORMAT_INVALID: (skip) (attributes doc.skip=true)