-
Notifications
You must be signed in to change notification settings - Fork 19
Closed
Description
Hi, PR #95 will include <linux/stat.h> to deal with earlier systems with undefined STATX_TYPE, it seems old versions kernel headers before 4.10 do not contain definition of STATX in this header file.
On my centos 7 machine with kernel version 3.10 LTS, the compile error occured on line 442 of uring_stubs.c, prompting "invalid application of 'sizeof' to incomplete type 'struct statx'".
Elrepo is an option for me to update system kernel to mainline version (>5.1) so to support syscalls of statx and io_uring at all on centos7, but I'm afraid this may get things into totally mess.
Could some additional macros be added so as to bypass statx compilation, thx : )
Metadata
Metadata
Assignees
Labels
No labels