aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2018-10-15 02:31:49 +0200
committerGitHub <noreply@github.com>2018-10-15 02:31:49 +0200
commit814fc1364ce68c079961653ddc4714694e5a9b07 (patch)
tree34b4328b4a5e05ce69612da0c7fd2008e8a711cd /examples
parent7daca85bcf4f3c0567697afb3603472394a85273 (diff)
parent7ca3bc1d6f36fd1751902e1976feceb427e6aba3 (diff)
Merge pull request #1312 from ascent12/drm_include
Fix libdrm includes
Diffstat (limited to 'examples')
-rw-r--r--examples/dmabuf-capture.c2
-rw-r--r--examples/meson.build1
2 files changed, 2 insertions, 1 deletions
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 <unistd.h>
#include <pthread.h>
#include <stdbool.h>
-#include <libdrm/drm_fourcc.h>
+#include <drm_fourcc.h>
#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), # <drm_fourcc.h>
threads,
wayland_client,
wlr_protos,