https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92247
--- Comment #6 from fdlbxtqi <euloanty at live dot com> --- I have examined the source code of the unistd.h in Microsoft WSL2. The same thing, these syscalls were removed as well. https://github.com/microsoft/WSL2-Linux-Kernel/blob/7fec2bd4a7fd7a952e3e5ea2202bef963aa4781d/include/uapi/asm-generic/unistd.h