Browse Source

f2fs-tools: fix build with musl

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Daniel Golle 9 years ago
parent
commit
36e4c90f6c
1 changed files with 10 additions and 0 deletions
  1. 10
    0
      utils/f2fs-tools/patches/010-include-byteswap-h.patch

+ 10
- 0
utils/f2fs-tools/patches/010-include-byteswap-h.patch View File

@@ -0,0 +1,10 @@
1
+--- a/include/f2fs_fs.h
2
++++ b/include/f2fs_fs.h
3
+@@ -12,6 +12,7 @@
4
+ #include <inttypes.h>
5
+ #include <linux/types.h>
6
+ #include <sys/types.h>
7
++#include <byteswap.h>
8
+ 
9
+ #ifdef HAVE_CONFIG_H
10
+ #include <config.h>