From 83bb523f2e422efce8281b1b6cf07d23d6d70d66 Mon Sep 17 00:00:00 2001 From: Packit Service Date: Dec 15 2020 07:38:50 +0000 Subject: Apply patch glibc-rh1699194-4.patch patch_name: glibc-rh1699194-4.patch present_in_specfile: true location_in_specfile: 170 --- diff --git a/sysdeps/unix/sysv/linux/bits/statx.h b/sysdeps/unix/sysv/linux/bits/statx.h index d36f44e..2068787 100644 --- a/sysdeps/unix/sysv/linux/bits/statx.h +++ b/sysdeps/unix/sysv/linux/bits/statx.h @@ -23,8 +23,11 @@ #endif /* Use the Linux kernel header if available. */ -#if __glibc_has_include () -# include + +/* Use "" to work around incorrect macro expansion of the + __has_include argument (GCC PR 80005). */ +#if __glibc_has_include ("linux/stat.h") +# include "linux/stat.h" # ifdef STATX_TYPE # define __statx_timestamp_defined 1 # define __statx_defined 1