[Bug libc/23349] Various glibc headers no longer compatible with <linux/time.h>
cvs-commit at gcc dot gnu.org
sourceware-bugzilla@sourceware.org
Thu Jun 28 11:20:00 GMT 2018
https://sourceware.org/bugzilla/show_bug.cgi?id=23349
--- Comment #1 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".
The branch, master has been updated
via c1c2848b572ea7f92b7fa81dd5b1b9ef7c69b83b (commit)
from 86a0f56158bd9cbaf2d640e2e6c66539f4cbbcc1 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=c1c2848b572ea7f92b7fa81dd5b1b9ef7c69b83b
commit c1c2848b572ea7f92b7fa81dd5b1b9ef7c69b83b
Author: Florian Weimer <fweimer@redhat.com>
Date: Thu Jun 28 13:12:16 2018 +0200
Use _STRUCT_TIMESPEC as guard in <bits/types/struct_timespec.h> [BZ #23349]
After commit d76d3703551a362b472c866b5b6089f66f8daa8e ("Fix missing
timespec definition for sys/stat.h (BZ #21371)") in combination with
kernel UAPI changes, GCC sanitizer builds start to fail due to a
conflicting definition of struct timespec in <linux/time.h>. Use
_STRUCT_TIMESPEC as the header file inclusion guard, which is already
checked in the kernel header, to support including <linux/time.h> and
<sys/stat.h> in the same translation unit.
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 6 ++++++
time/bits/types/struct_timespec.h | 5 +++--
2 files changed, 9 insertions(+), 2 deletions(-)
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Glibc-bugs
mailing list