From f486aebf0865c0d9ebb0c098b7869b48d346f827 Mon Sep 17 00:00:00 2001 From: linlinlin Date: Sat, 6 Jul 2024 17:18:59 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9mkfs=E6=94=AF=E6=8C=81?= =?UTF-8?q?=E7=94=9F=E6=88=90uuid=E5=92=8Clabel?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: linlinlin --- config.h | 4 ++++ mkfs/f2fs_format.c | 2 +- mkfs/f2fs_format_main.c | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/config.h b/config.h index be97593..6661f03 100644 --- a/config.h +++ b/config.h @@ -198,6 +198,10 @@ /* Version number of package */ #define VERSION "1.15.0" +#define HAVE_UUID_UUID_H 1 + +#define HAVE_LIBUUID 1 + /* Define to `__inline__' or `__inline' if that's what the C compiler calls it, or to nothing if 'inline' is not supported under any name. */ #ifndef __cplusplus diff --git a/mkfs/f2fs_format.c b/mkfs/f2fs_format.c index 10ed74e..879991b 100644 --- a/mkfs/f2fs_format.c +++ b/mkfs/f2fs_format.c @@ -26,7 +26,7 @@ #include #ifdef HAVE_UUID_UUID_H -#include +#include #endif #ifndef HAVE_LIBUUID #define uuid_parse(a, b) -1 diff --git a/mkfs/f2fs_format_main.c b/mkfs/f2fs_format_main.c index 8b087ff..07084b3 100644 --- a/mkfs/f2fs_format_main.c +++ b/mkfs/f2fs_format_main.c @@ -30,7 +30,7 @@ #include #endif #ifdef HAVE_UUID_UUID_H -#include +#include #endif #include "quota.h"