From 583125d58cc604ba8bb3cdca1656c7f973fae69c Mon Sep 17 00:00:00 2001 From: Zhihao Cheng Date: Mon, 11 Nov 2024 16:36:42 +0800 Subject: ubifs-utils: Add linux type definitions Add linux type definitions, because there are many types (eg. u8/u16/u64) used in UBIFS linux kernel libs. Besides move type conversions (eg. cpu_to_le16, cpu_to_le32, etc.) into type definitions header file. This is a preparation for replacing implementation of UBIFS utils with linux kernel libs. Signed-off-by: Zhihao Cheng Signed-off-by: David Oberhollenzer --- ubifs-utils/common/crypto.c | 1 + 1 file changed, 1 insertion(+) (limited to 'ubifs-utils/common/crypto.c') diff --git a/ubifs-utils/common/crypto.c b/ubifs-utils/common/crypto.c index 2ecd8da..e4ef349 100644 --- a/ubifs-utils/common/crypto.c +++ b/ubifs-utils/common/crypto.c @@ -23,6 +23,7 @@ #include #include +#include "linux_types.h" #include "fscrypt.h" #include "defs.h" #include "ubifs.h" -- cgit v1.2.3