egl/android: include "util/compiler.h" for FALLTHROUGH macro

Fixes the following building error:

external/mesa/src/egl/drivers/dri2/platform_android.c:1263:10: error: use of undeclared identifier 'FALLTHROUGH'
         FALLTHROUGH; /* for pbuffers */
         ^
1 error generated.

Fixes: 2928c21eb7 ("Convert most remaining free-form fall-through comments to FALLTHROUGH")
Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10264>
(cherry picked from commit 0a71aaa29d)
This commit is contained in:
Mauro Rossi 2021-04-15 21:34:12 +02:00 committed by Eric Engestrom
parent 1325d95923
commit 27efc4852d
2 changed files with 2 additions and 1 deletions

View file

@ -41314,7 +41314,7 @@
"description": "egl/android: include \"util/compiler.h\" for FALLTHROUGH macro",
"nominated": false,
"nomination_type": 1,
"resolution": 4,
"resolution": 1,
"main_sha": null,
"because_sha": "2928c21eb73b66d22d1f383abf62de583547f81f"
},

View file

@ -39,6 +39,7 @@
#include <sys/types.h>
#include <drm-uapi/drm_fourcc.h>
#include "util/compiler.h"
#include "util/os_file.h"
#include "loader.h"