X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~mdw/git/disorder/blobdiff_plain/f9d42b20477523bf2ab2172d51e78d2a398e117f..cca956b199841d754e8a78391d2e2c7efce4a3ee:/lib/bits.c diff --git a/lib/bits.c b/lib/bits.c index d570e64..4ed2402 100644 --- a/lib/bits.c +++ b/lib/bits.c @@ -22,13 +22,13 @@ * @brief Bit operations */ -#include -#include "types.h" +#include "common.h" #include #include "bits.h" +#if !HAVE_FLS /** @brief Compute index of leftmost 1 bit * @param n Integer * @return Index of leftmost 1 bit or -1 @@ -69,7 +69,7 @@ int leftmost_bit(uint32_t n) { */ return x - 1; } - +#endif /* Local Variables: