summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2019-09-12 12:52:40 -0700
committerEric Anholt <eric@anholt.net>2019-09-12 21:54:30 +0000
commit2efc80489274b753b3e89862bc2ad75d7b31f32a (patch)
tree29cb0c11835fda48730e01450732bc81b9138f4f
parent89e840ec599792ffa43ef2b717e0bd9aafe436b5 (diff)
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@linaro.org> Reviewed-by: Kristian H. Kristensen <hoegsberg@google.com>
-rw-r--r--src/egl/drivers/dri2/platform_android.c1
1 files changed, 1 insertions, 0 deletions
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"