From: Christian Gmeiner Date: Fri, 15 Jun 2018 10:18:56 +0000 (+0200) Subject: util/bitset: include util/macro.h X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=efae1279936112cefe9fa1753998993df81d6201;p=mesa.git util/bitset: include util/macro.h BITSET_FFS(x) macro makes use of ARRAY_SIZE(x) macro which is defined in util/macro.h. Include it directy to make usage more straightforward. Fixes: 692bd4a1ab9 ("util: replace Elements() with ARRAY_SIZE()") Signed-off-by: Christian Gmeiner Reviewed-by: Eric Engestrom --- diff --git a/src/util/bitset.h b/src/util/bitset.h index 75e29a9a519..adafc72a5f7 100644 --- a/src/util/bitset.h +++ b/src/util/bitset.h @@ -32,6 +32,7 @@ #define BITSET_H #include "util/bitscan.h" +#include "util/macros.h" /**************************************************************************** * generic bitset implementation