diff options
author | Eric Engestrom <[email protected]> | 2019-02-12 18:18:03 +0000 |
---|---|---|
committer | Eric Engestrom <[email protected]> | 2019-02-14 11:20:00 +0000 |
commit | f1374805a86d0d506557e61efbc09e23caa7a038 (patch) | |
tree | 8227048a718d8080b00c1f1a9817033ce38e6cd9 /src/egl/drivers | |
parent | 69e4c273c44118f46fd496af5124ddf45b86e868 (diff) |
drm-uapi: use local files, not system libdrm
There was an issue recently caused by the system header being included
by mistake, so let's just get rid of this include path and always
explicitly #include "drm-uapi/FOO.h"
Signed-off-by: Eric Engestrom <[email protected]>
Reviewed-by: Kristian H. Kristensen <[email protected]>
Diffstat (limited to 'src/egl/drivers')
-rw-r--r-- | src/egl/drivers/dri2/egl_dri2.c | 2 | ||||
-rw-r--r-- | src/egl/drivers/dri2/platform_wayland.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/egl/drivers/dri2/egl_dri2.c b/src/egl/drivers/dri2/egl_dri2.c index 17bee797b4a..0f417e571bb 100644 --- a/src/egl/drivers/dri2/egl_dri2.c +++ b/src/egl/drivers/dri2/egl_dri2.c @@ -40,7 +40,7 @@ #include <time.h> #ifdef HAVE_LIBDRM #include <xf86drm.h> -#include <drm_fourcc.h> +#include "drm-uapi/drm_fourcc.h" #endif #include <GL/gl.h> #include <GL/internal/dri_interface.h> diff --git a/src/egl/drivers/dri2/platform_wayland.c b/src/egl/drivers/dri2/platform_wayland.c index c3ca1b6f7bc..8be4db7f258 100644 --- a/src/egl/drivers/dri2/platform_wayland.c +++ b/src/egl/drivers/dri2/platform_wayland.c @@ -36,7 +36,7 @@ #include <unistd.h> #include <fcntl.h> #include <xf86drm.h> -#include <drm_fourcc.h> +#include "drm-uapi/drm_fourcc.h" #include <sys/mman.h> #include "egl_dri2.h" |