Closed ejoerns closed 1 year ago
Since glibc 2.36, the mount.h is no longer compatible with the linux mount.h and inclusion of both will cause definition conflicts:
https://sourceware.org/glibc/wiki/Release/2.36#Usage_of_.3Clinux.2Fmount.h.3E_and_.3Csys.2Fmount.h.3E
Fix this by removing inclusion of sys/mount.h since inclusion of linux/fs.h already pulls in linux/mount.h.
sys/mount.h
linux/fs.h
linux/mount.h
Since glibc 2.36, the mount.h is no longer compatible with the linux mount.h and inclusion of both will cause definition conflicts:
https://sourceware.org/glibc/wiki/Release/2.36#Usage_of_.3Clinux.2Fmount.h.3E_and_.3Csys.2Fmount.h.3E
Fix this by removing inclusion of
sys/mount.h
since inclusion oflinux/fs.h
already pulls inlinux/mount.h
.