systemd / casync

Content-Addressable Data Synchronization Tool
1.49k stars 117 forks source link

caencoder: remove sys/mount.h to fix build against glibc 2.36 #263

Closed ejoerns closed 1 year ago

ejoerns commented 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.