util/bitset: include util/macro.h
authorChristian Gmeiner <christian.gmeiner@gmail.com>
Fri, 15 Jun 2018 10:18:56 +0000 (12:18 +0200)
committerEric Engestrom <eric.engestrom@intel.com>
Fri, 15 Jun 2018 10:26:30 +0000 (11:26 +0100)
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>
src/util/bitset.h

index 75e29a9a519bf2bf12bea8e16b93549b66947809..adafc72a5f74d46e118a1333cc84900f0e468932 100644 (file)
@@ -32,6 +32,7 @@
 #define BITSET_H
 
 #include "util/bitscan.h"
+#include "util/macros.h"
 
 /****************************************************************************
  * generic bitset implementation