https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91085
Bug ID: 91085 Summary: fixincludes breaks <bits/statx.h> Product: gcc Version: 9.1.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: other Assignee: unassigned at gcc dot gnu.org Reporter: sch...@linux-m68k.org Target Milestone: --- Target: *-*-linux* fixincludes applies a bad change to <bits/statx.h> from glibc 2.30. @@ -26,7 +35,7 @@ /* Use "" to work around incorrect macro expansion of the __has_include argument (GCC PR 80005). */ -#if __glibc_has_include ("linux/stat.h") +#if __glibc_has_include ("__linux__/stat.h") # include "linux/stat.h" # ifdef STATX_TYPE # define __statx_timestamp_defined 1