Mesa (master): egl/android: Fix build since the DRI fourcc removal.
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Thu Sep 12 22:21:18 UTC 2019
Module: Mesa
Branch: master
Commit: 2efc80489274b753b3e89862bc2ad75d7b31f32a
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=2efc80489274b753b3e89862bc2ad75d7b31f32a
Author: Eric Anholt <eric at anholt.net>
Date: Thu Sep 12 12:52:40 2019 -0700
egl/android: Fix build since the DRI fourcc removal.
Fixes: 272f9cfe6a19 ("dri: Use DRM_FORMAT_* instead of defining our own copy.")
Reviewed-by: John Stultz <john.stultz at linaro.org>
Reviewed-by: Kristian H. Kristensen <hoegsberg at google.com>
---
src/egl/drivers/dri2/platform_android.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/egl/drivers/dri2/platform_android.c b/src/egl/drivers/dri2/platform_android.c
index 0c341c6ac78..35d40e567dc 100644
--- a/src/egl/drivers/dri2/platform_android.c
+++ b/src/egl/drivers/dri2/platform_android.c
@@ -37,6 +37,7 @@
#include <stdio.h>
#include <sync/sync.h>
#include <sys/types.h>
+#include <drm-uapi/drm_fourcc.h>
#include "loader.h"
#include "egl_dri2.h"
More information about the mesa-commit
mailing list