diff options
author | Christian Gmeiner <[email protected]> | 2018-06-15 12:18:56 +0200 |
---|---|---|
committer | Eric Engestrom <[email protected]> | 2018-06-15 11:26:30 +0100 |
commit | efae1279936112cefe9fa1753998993df81d6201 (patch) | |
tree | 59be2d4c3e4c5633d37b2b5686a2035c354dfbd8 | |
parent | 4cfc4cef80a85dea2b761efd9f6deb13198c9196 (diff) |
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 <[email protected]>
Reviewed-by: Eric Engestrom <[email protected]>
-rw-r--r-- | src/util/bitset.h | 1 |
1 files changed, 1 insertions, 0 deletions
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 |