kmssink: Fix compilation without kernel headers
authorNicolas Dufresne <nicolas.dufresne@collabora.com>
Tue, 22 Nov 2022 20:27:38 +0000 (15:27 -0500)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Wed, 23 Nov 2022 08:39:49 +0000 (08:39 +0000)
There was a drm/drm_mode.h included added recently, drm/ is usually
referencing the linux kernel header, but we only requires the libdrm
headers to be installed. On top of this, including drm_mode.h is never
needed as its already included by drm.h.

Fixes #1596

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3452>

subprojects/gst-plugins-bad/sys/kms/gstkmssink.h

index 9c33e1f..317f789 100644 (file)
@@ -27,7 +27,6 @@
 #define __GST_KMS_SINK_H__
 
 #include <gst/video/gstvideosink.h>
-#include <drm/drm_mode.h>
 #include <gst/video/video-hdr.h>
 
 G_BEGIN_DECLS