aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRolf Eike Beer <eb@emlix.com>2020-06-12 10:09:58 +0200
committerJaegeuk Kim <jaegeuk@kernel.org>2020-06-18 12:34:03 -0700
commit59a37413f81295af90e983e7ed562eaa53b4141c (patch)
treecd2c7c436c2a3d4e4eda2855e1ca022602f653f1
parenta60cd1a3f96645326fd05d5ab4f72fe2ca9be2ff (diff)
downloadf2fs-tools-59a37413f81295af90e983e7ed562eaa53b4141c.tar.gz
lib: fix include path for uuid.h
$ pkg-config --cflags uuid -I/usr/include/uuid The "uuid/" directory is actually part of the include path. This usually still works because most people have the path one level up in their default include path. Signed-off-by: Rolf Eike Beer <eb@emlix.com> Reviewed-by: Chao Yu <yuchao0@huawei.com> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
-rw-r--r--mkfs/f2fs_format.c2
-rw-r--r--mkfs/f2fs_format_main.c2
-rw-r--r--tools/f2fscrypt.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/mkfs/f2fs_format.c b/mkfs/f2fs_format.c
index 44575e0..4999cac 100644
--- a/mkfs/f2fs_format.c
+++ b/mkfs/f2fs_format.c
@@ -18,7 +18,7 @@
#include <sys/mount.h>
#endif
#include <time.h>
-#include <uuid/uuid.h>
+#include <uuid.h>
#include "f2fs_fs.h"
#include "quota.h"
diff --git a/mkfs/f2fs_format_main.c b/mkfs/f2fs_format_main.c
index 204a410..282c94e 100644
--- a/mkfs/f2fs_format_main.c
+++ b/mkfs/f2fs_format_main.c
@@ -18,7 +18,7 @@
#include <sys/mount.h>
#endif
#include <time.h>
-#include <uuid/uuid.h>
+#include <uuid.h>
#include <errno.h>
#include "config.h"
diff --git a/tools/f2fscrypt.c b/tools/f2fscrypt.c
index fe3e0ff..d5bc3c5 100644
--- a/tools/f2fscrypt.c
+++ b/tools/f2fscrypt.c
@@ -43,7 +43,7 @@
#ifdef __KERNEL__
#include <linux/fs.h>
#endif
-#include <uuid/uuid.h>
+#include <uuid.h>
#if !defined(HAVE_ADD_KEY) || !defined(HAVE_KEYCTL)
#include <sys/syscall.h>