diff options
author | Christian Gmeiner <christian.gmeiner@gmail.com> | 2018-06-15 12:18:56 +0200 |
---|---|---|
committer | Dylan Baker <dylan@pnwbakers.com> | 2018-06-15 13:55:04 -0700 |
commit | ae3949683182dfa9d20de2e4d7e59dce02586260 (patch) | |
tree | d6ff783815bcc34d7e04e654a4a4d5b3c09a5f70 | |
parent | 2008ca24d781628b0a49e29385fe93e836eb2ed5 (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 <christian.gmeiner@gmail.com>
Reviewed-by: Eric Engestrom <eric.engestrom@intel.com>
(cherry picked from commit efae1279936112cefe9fa1753998993df81d6201)
-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 75e29a9a51..adafc72a5f 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 |