1 --- gcc-9.5.0/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cc.orig 2022-05-27 09:21:13.287390967 +0200
2 +++ gcc-9.5.0/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cc 2022-09-25 15:24:41.297783298 +0200
7 +#define _LINUX_MOUNT_H 1 /* rely on sys/mount.h */
10 #include <netinet/ether.h>
11 --- gcc-9.5.0/libgo/sysinfo.c.orig 2022-05-27 09:21:13.143390262 +0200
12 +++ gcc-9.5.0/libgo/sysinfo.c 2022-09-25 20:58:40.739220326 +0200
15 #if defined(HAVE_SYS_MOUNT_H)
16 #include <sys/mount.h>
17 +#elif defined(HAVE_LINUX_FS_H)
18 +#include <linux/fs.h>
20 #if defined(HAVE_SYS_VFS_H)
23 #if defined(HAVE_LINUX_ETHER_H)
24 #include <linux/ether.h>
26 -#if defined(HAVE_LINUX_FS_H)
27 -#include <linux/fs.h>
29 #if defined(HAVE_LINUX_REBOOT_H)
30 #include <linux/reboot.h>