This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [glibc] <sys/stat.h>: Use Linux UAPI header for statx if available and useful
On Jun 25 2019, Florian Weimer <fweimer@redhat.com> wrote:
> It's been reported that this now breaks:
>
> #define __ASSEMBLER__ 1
> #include <sys/stat.h>
>
> This is because <linux/types.h> does not define __u64 under these
> circumstances.
>
> I don't think defining __ASSEMBLER__ is a supported scenario.
__ASSEMBLER__ is defined by -xassembler-with-cpp, but <sys/stat.h> is
not an assembler header.
Andreas.
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1
"And now for something completely different."