summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/bch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bch.c b/lib/bch.c
index 7a2d9d3b86..d0d7e25c4e 100644
--- a/lib/bch.c
+++ b/lib/bch.c
@@ -117,7 +117,7 @@ struct gf_poly_deg1 {
};
#ifdef USE_HOSTCC
-#ifndef __BSD_VISIBLE
+#if !defined(__DragonFly__) && !defined(__FreeBSD__)
static int fls(int x)
{
int r = 32;