diff options
author | Kevin Strasser <[email protected]> | 2019-09-12 09:38:24 -0700 |
---|---|---|
committer | Kevin Strasser <[email protected]> | 2019-09-30 14:33:43 -0700 |
commit | 641320ce02ff438a314be35fea8f0cf60ab20faf (patch) | |
tree | e3c02f9967f2252cdd340f1d9f3790a7c91dc656 /src/egl/drivers | |
parent | b9994cb8d518235649544fadbf24ab3763d96f39 (diff) |
egl: Fix implicit declaration of ffs
Found when building for Android in C99 mode. Include bitscan.h to ensure ffs is
available.
Fixes: 7b4ed2b5 ("egl: Convert configs to use shifts and sizes instead of masks")
Signed-off-by: Kevin Strasser <[email protected]>
Reviewed-by: Eric Engestrom <[email protected]>
Diffstat (limited to 'src/egl/drivers')
-rw-r--r-- | src/egl/drivers/dri2/egl_dri2.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/egl/drivers/dri2/egl_dri2.c b/src/egl/drivers/dri2/egl_dri2.c index f968cd7af27..82a0bed5c62 100644 --- a/src/egl/drivers/dri2/egl_dri2.c +++ b/src/egl/drivers/dri2/egl_dri2.c @@ -65,6 +65,7 @@ #include "util/u_atomic.h" #include "util/u_vector.h" #include "mapi/glapi/glapi.h" +#include "util/bitscan.h" /* Additional definitions not yet in the drm_fourcc.h. */ |