summaryrefslogtreecommitdiffstats
path: root/package/utils/f2fs-tools/patches/010-include-byteswap-h.patch
diff options
context:
space:
mode:
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>