https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85835
--- Comment #9 from Matthias Klose <doko at gcc dot gnu.org> --- Author: doko Date: Fri Sep 21 07:18:26 2018 New Revision: 264457 URL: https://gcc.gnu.org/viewcvs?rev=264457&root=gcc&view=rev Log: 2017-09-21 Matthias Klose <d...@ubuntu.com> Backported from the gcc-7-branch: 2018-05-24 H.J. Lu <hongjiu...@intel.com> PR sanitizer/85835 * sanitizer_common/sanitizer_platform_limits_posix.cc: Don't include <sys/ustat.h> for Linux. (SIZEOF_STRUCT_USTAT): New. (struct_ustat_sz): Use SIZEOF_STRUCT_USTAT for Linux. Modified: branches/gcc-6-branch/libsanitizer/ChangeLog branches/gcc-6-branch/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cc