Closed frozencemetery closed 2 years ago
glibc has decided that sys/mount.h and linux/mount.h are no longer usable at the same time. This broke the build, since linux/fs.h itself includes linux/mount.h. For now, fix the build by only including sys/mount.h where we need it.
See-also: https://sourceware.org/glibc/wiki/Release/2.36#Usage_of_.3Clinux.2Fmount.h.3E_and_.3Csys.2Fmount.h.3E Resolves: #227 Signed-off-by: Robbie Harwood rharwood@redhat.com
glibc has decided that sys/mount.h and linux/mount.h are no longer usable at the same time. This broke the build, since linux/fs.h itself includes linux/mount.h. For now, fix the build by only including sys/mount.h where we need it.
See-also: https://sourceware.org/glibc/wiki/Release/2.36#Usage_of_.3Clinux.2Fmount.h.3E_and_.3Csys.2Fmount.h.3E Resolves: #227 Signed-off-by: Robbie Harwood rharwood@redhat.com