From 7ca3bc1d6f36fd1751902e1976feceb427e6aba3 Mon Sep 17 00:00:00 2001 From: Scott Anderson Date: Mon, 15 Oct 2018 11:39:35 +1300 Subject: Fix libdrm includes This removes any assumptions about how the libdrm headers are installed, and uses the pkg-config include directories as we're "supposed to". This only adds a partial dependency, since we don't actually need to link against libdrm. --- examples/dmabuf-capture.c | 2 +- examples/meson.build | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'examples') diff --git a/examples/dmabuf-capture.c b/examples/dmabuf-capture.c index 2c510b5a..abdb146a 100644 --- a/examples/dmabuf-capture.c +++ b/examples/dmabuf-capture.c @@ -12,7 +12,7 @@ #include #include #include -#include +#include #include "wlr-export-dmabuf-unstable-v1-client-protocol.h" struct wayland_output { diff --git a/examples/meson.build b/examples/meson.build index da7a5275..e507ab42 100644 --- a/examples/meson.build +++ b/examples/meson.build @@ -80,6 +80,7 @@ examples = { libavcodec, libavformat, libavutil, + drm.partial_dependency(includes: true), # threads, wayland_client, wlr_protos, -- cgit v1.2.3