lib:replace: Only include <sys/mount.h> on non-Linux systems
authorAndreas Schneider <asn@samba.org>
Tue, 2 Aug 2022 05:55:46 +0000 (07:55 +0200)
committerRalph Boehme <slow@samba.org>
Tue, 2 Aug 2022 11:05:14 +0000 (11:05 +0000)
commit766151bf5b7ef95ae4c8c98b8994e5c21c5bbec0
treeb1d459713ba16001a1061b4a972f72d654e0aaa0
parent9459f85511a11d9a159fc8c7bb3c2d781555f87d
lib:replace: Only include <sys/mount.h> on non-Linux systems

Details at:
https://sourceware.org/glibc/wiki/Release/2.36#Usage_of_.3Clinux.2Fmount.h.3E_and_.3Csys.2Fmount.h.3E

BUG: https://bugzilla.samba.org/show_bug.cgi?id=15132

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
Autobuild-User(master): Ralph Böhme <slow@samba.org>
Autobuild-Date(master): Tue Aug  2 11:05:14 UTC 2022 on sn-devel-184
lib/replace/system/filesys.h
lib/replace/wscript