From 0571dc3bc99e7e5f46781ef6206364f840b4e8af Mon Sep 17 00:00:00 2001 From: "John L. Hammond" Date: Thu, 3 Sep 2020 11:48:42 -0500 Subject: [PATCH] LU-13945 utils: add includes for copy_file_range() In lstddef.h include the needed headers to support the compat definition of copy_file_range(). Test-Parameters: trivial Signed-off-by: John L. Hammond Change-Id: I83544cbbeb6407f4c3bb9fa3bd2a1297f2b2a2dc Reviewed-on: https://review.whamcloud.com/39821 Reviewed-by: James Simmons Tested-by: jenkins Tested-by: Maloo Reviewed-by: Alex Zhuravlev Reviewed-by: Gu Zheng Reviewed-by: Andreas Dilger --- lustre/utils/lstddef.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lustre/utils/lstddef.h b/lustre/utils/lstddef.h index 7b785a7..ee7d9b5 100644 --- a/lustre/utils/lstddef.h +++ b/lustre/utils/lstddef.h @@ -1,8 +1,11 @@ #ifndef _LSTDDEF_H #define _LSTDDEF_H +#include #include #include +#include +#include #define __ALIGN_LSTDDEF_MASK(x, mask) (((x) + (mask)) & ~(mask)) #define __ALIGN_LSTDDEF(x, a) __ALIGN_LSTDDEF_MASK(x, (typeof(x))(a) - 1) -- 1.8.3.1