summaryrefslogtreecommitdiffstats
path: root/package/utils/f2fs-tools/patches/010-include-byteswap-h.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2016-09-06 13:12:17 +0200
committerFelix Fietkau <nbd@nbd.name>2016-09-08 15:28:38 +0200
commitdbbd5eef58fb5617b45802f98b5a73981fc4f4f2 (patch)
tree83b6f69191d3126f9b2cb1fbc84cf6c50ff285ab /package/utils/f2fs-tools/patches/010-include-byteswap-h.patch
parent03cd41679597364ca0b382646b35cb5d06465d1b (diff)
downloadmaster-31e0f0ae-dbbd5eef58fb5617b45802f98b5a73981fc4f4f2.tar.gz
master-31e0f0ae-dbbd5eef58fb5617b45802f98b5a73981fc4f4f2.tar.bz2
master-31e0f0ae-dbbd5eef58fb5617b45802f98b5a73981fc4f4f2.zip
f2fs-tools: import from packages, clean up, and update to latest
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'package/utils/f2fs-tools/patches/010-include-byteswap-h.patch')
-rw-r--r--package/utils/f2fs-tools/patches/010-include-byteswap-h.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/package/utils/f2fs-tools/patches/010-include-byteswap-h.patch b/package/utils/f2fs-tools/patches/010-include-byteswap-h.patch
new file mode 100644
index 0000000000..ff7e4e7d3e
--- /dev/null
+++ b/package/utils/f2fs-tools/patches/010-include-byteswap-h.patch
@@ -0,0 +1,10 @@
+--- a/include/f2fs_fs.h
++++ b/include/f2fs_fs.h
+@@ -15,6 +15,7 @@
+ #include <inttypes.h>
+ #include <linux/types.h>
+ #include <sys/types.h>
++#include <byteswap.h>
+
+ #ifdef HAVE_CONFIG_H
+ #include <config.h>