diff options
author | Mauro Rossi <issor.oruam@gmail.com> | 2021-04-15 21:34:12 +0200 |
---|---|---|
committer | Marge Bot <eric+marge@anholt.net> | 2021-04-16 16:42:20 +0000 |
commit | 0a71aaa29d78a3490940bc0bd287136b3e3774ee (patch) | |
tree | de80e92866c6d57472fe32ec7f344cf0d9e7778e /src/egl/drivers | |
parent | 5613984fd944a150d48e6a582daaeb8b2dde7e32 (diff) |
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: 2928c21eb73b ("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>
Diffstat (limited to 'src/egl/drivers')
-rw-r--r-- | src/egl/drivers/dri2/platform_android.c | 1 |
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 1fb3166dc91..2fff5ac4dc4 100644 --- a/src/egl/drivers/dri2/platform_android.c +++ b/src/egl/drivers/dri2/platform_android.c @@ -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" |