[Mesa-dev] [PATCH] util/bitset: include util/macro.h
Eric Engestrom
eric.engestrom at intel.com
Fri Jun 15 11:16:35 UTC 2018
On Friday, 2018-06-15 12:18:56 +0200, Christian Gmeiner wrote:
> 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 at gmail.com>
Reviewed-by: Eric Engestrom <eric.engestrom at intel.com>
and pushed :)
> ---
> src/util/bitset.h | 1 +
> 1 file changed, 1 insertion(+)
>
> 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
> --
> 2.17.1
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev
More information about the mesa-dev
mailing list