aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCole Mickens <cole.mickens@gmail.com>2018-10-13 21:36:58 -0700
committerGitHub <noreply@github.com>2018-10-13 21:36:58 -0700
commit43d0ebfdac78d645a0dd14469553192c3f9cef87 (patch)
tree917af5ae2a4af96b12c47f73d17405d8922afc60
parent31f338bb361d740a23f0e4edcbd36f846f439d17 (diff)
Fix include path for (libdrm/)drm_fourcc.h
This PR broke a private nixpkgs definition I have for wlroots: https://github.com/swaywm/wlroots/pull/1304 It is fixed by changing `#include <drm_fourcc.h>` to `#include <libdrm/drm_fourcc.h>`, which follows what is already done in the dmabuf example.
-rw-r--r--render/egl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/render/egl.c b/render/egl.c
index 585baaeb..1f8ff25d 100644
--- a/render/egl.c
+++ b/render/egl.c
@@ -3,7 +3,7 @@
#include <EGL/egl.h>
#include <EGL/eglext.h>
#include <stdlib.h>
-#include <drm_fourcc.h>
+#include <libdrm/drm_fourcc.h>
#include <wlr/render/egl.h>
#include <wlr/util/log.h>
#include "glapi.h"