summaryrefslogtreecommitdiff
path: root/package/mtd-utils/patches/patch-ubifs-utils_mkfs_ubifs_defs_h
blob: e3f61b1e7f9881deab9d655a46c4103afffa633b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
--- mtd-utils-2.0.0.orig/ubifs-utils/mkfs.ubifs/defs.h	2016-07-12 14:16:45.000000000 +0200
+++ mtd-utils-2.0.0/ubifs-utils/mkfs.ubifs/defs.h	2017-04-26 01:55:07.000000000 +0200
@@ -39,6 +39,7 @@ struct qstr
 	size_t len;
 };
 
+#ifndef __APPLE__
 /**
  * fls - find last (most-significant) bit set
  * @x: the word to search
@@ -74,6 +75,7 @@ static inline int fls(int x)
 	}
 	return r;
 }
+#endif
 
 #define do_div(n,base) ({ \
 int __res; \