f2fs-tools: fix build with musl

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
This commit is contained in:
Daniel Golle 2015-06-16 14:07:50 +02:00
parent 4116e327af
commit 36e4c90f6c
1 changed files with 10 additions and 0 deletions

View File

@ -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>