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)
commit69813841848d1d657588dc1252f314392cca792e
tree0876c9f331e07ddd803e88f50260898dd8e69fd8
parent855f84c558180f7d3de5e8acc08a015d7a78a61c
kmssink: Fix compilation without kernel headers

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