]> git.ipfire.org Git - u-boot.git/blobdiff - lib/bch.c
Merge git://git.denx.de/u-boot-mmc
[u-boot.git] / lib / bch.c
index 7a2d9d3b86b7a69b213662f4dd1e6be836aa21f2..d0d7e25c4ee36f9a3e9f3665023a1b71a4c073c4 100644 (file)
--- 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;