egl: Fix implicit declaration of ffs
authorKevin Strasser <kevin.strasser@intel.com>
Thu, 12 Sep 2019 16:38:24 +0000 (09:38 -0700)
committerKevin Strasser <kevin.strasser@intel.com>
Mon, 30 Sep 2019 21:33:43 +0000 (14:33 -0700)
commit641320ce02ff438a314be35fea8f0cf60ab20faf
treee3c02f9967f2252cdd340f1d9f3790a7c91dc656
parentb9994cb8d518235649544fadbf24ab3763d96f39
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 <kevin.strasser@intel.com>
Reviewed-by: Eric Engestrom <eric.engestrom@intel.com>
src/egl/drivers/dri2/egl_dri2.c