aboutsummaryrefslogtreecommitdiff
path: root/examples/dmabuf-capture.c
diff options
context:
space:
mode:
authorScott Anderson <scott@anderso.nz>2018-10-15 11:39:35 +1300
committerScott Anderson <scott@anderso.nz>2018-10-15 11:39:35 +1300
commit7ca3bc1d6f36fd1751902e1976feceb427e6aba3 (patch)
tree34b4328b4a5e05ce69612da0c7fd2008e8a711cd /examples/dmabuf-capture.c
parent7daca85bcf4f3c0567697afb3603472394a85273 (diff)
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.
Diffstat (limited to 'examples/dmabuf-capture.c')
-rw-r--r--examples/dmabuf-capture.c2
1 files changed, 1 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 {