commit | 85ebbeb12288f2bd1d8aaade13040b9ebbc2e6c0 | [log] [tgz] |
---|---|---|
author | Jonathan Gray <jsg@jsg.id.au> | Sun Aug 27 20:45:14 2017 +1000 |
committer | Tom Rini <trini@konsulko.com> | Sun Sep 03 15:30:31 2017 -0400 |
tree | 01b6fc85b5b00155dddbc946b466a427e3a7fb6a | |
parent | 30403e54bf880d187e295418ec7989735ff1c2a0 [diff] |
bch: don't use __BSD_VISIBLE to test for fls Commit 4ecc988301bc8e981e6d7538c57cdb3aa82f7c1d assumes fls is in libc if __BSD_VISIBLE is defined. This appears to only be true on FreeBSD and DragonFlyBSD. OpenBSD defines __BSD_VISIBLE and does not have fls in strings.h/libc. Switch the test for __BSD_VISIBLE to one for __DragonFly__ and __FreeBSD__ to unbreak the build on OpenBSD. Signed-off-by: Jonathan Gray <jsg@jsg.id.au>