f2fs-tools: fix build with musl
authorDaniel Golle <redacted>
Tue, 16 Jun 2015 12:07:50 +0000 (14:07 +0200)
committerDaniel Golle <redacted>
Tue, 16 Jun 2015 12:07:50 +0000 (14:07 +0200)
Signed-off-by: Daniel Golle <redacted>
utils/f2fs-tools/patches/010-include-byteswap-h.patch [new file with mode: 0644]

diff --git a/utils/f2fs-tools/patches/010-include-byteswap-h.patch b/utils/f2fs-tools/patches/010-include-byteswap-h.patch
new file mode 100644 (file)
index 0000000..b8c9ff3
--- /dev/null
@@ -0,0 +1,10 @@
+--- a/include/f2fs_fs.h
++++ b/include/f2fs_fs.h
+@@ -12,6 +12,7 @@
+ #include <inttypes.h>
+ #include <linux/types.h>
+ #include <sys/types.h>
++#include <byteswap.h>
+ #ifdef HAVE_CONFIG_H
+ #include <config.h>
git clone https://git.99rst.org/PROJECT