isl: remove ffs function that conflicts with system headers
authorJonathan Gray <jsg@jsg.id.au>
Sat, 23 Apr 2016 07:27:58 +0000 (17:27 +1000)
committerEmil Velikov <emil.l.velikov@gmail.com>
Mon, 25 Apr 2016 14:06:46 +0000 (15:06 +0100)
commit3c8f9ed9b7fd4462bae66685bf2389f4802dc84e
treea27b154395cbf1229065d0b891730ce707516498
parentdc732a8ef29dd2308a435cb7827c00be6d37fb5b
isl: remove ffs function that conflicts with system headers

Remove a wrapper around __builtin_ffs that conflicts with system
headers on OpenBSD and perhaps elsewhere:

isl_priv.h:44: error: conflicting types for 'ffs'

v2: include strings.h to ensure prototype is found

Signed-off-by: Jonathan Gray <jsg@jsg.id.au>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
src/intel/isl/isl_priv.h