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 <jhammond@whamcloud.com>
Change-Id: I83544cbbeb6407f4c3bb9fa3bd2a1297f2b2a2dc
Reviewed-on: https://review.whamcloud.com/39821
Reviewed-by: James Simmons <jsimmons@infradead.org>
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Alex Zhuravlev <bzzz@whamcloud.com>
Reviewed-by: Gu Zheng <gzheng@ddn.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
#ifndef _LSTDDEF_H
#define _LSTDDEF_H
+#include <unistd.h>
#include <linux/types.h>
#include <sys/param.h>
+#include <sys/syscall.h>
+#include <sys/types.h>
#define __ALIGN_LSTDDEF_MASK(x, mask) (((x) + (mask)) & ~(mask))
#define __ALIGN_LSTDDEF(x, a) __ALIGN_LSTDDEF_MASK(x, (typeof(x))(a) - 1)