egl/android: Fix build since the DRI fourcc removal.
authorEric Anholt <eric@anholt.net>
Thu, 12 Sep 2019 19:52:40 +0000 (12:52 -0700)
committerEric Anholt <eric@anholt.net>
Thu, 12 Sep 2019 21:54:30 +0000 (21:54 +0000)
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>
src/egl/drivers/dri2/platform_android.c

index 0c341c6ac784a020a81046290b54681eb85f334b..35d40e567dc652e684d82d0369361ab64cfb1e6b 100644 (file)
@@ -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"