lib:replace: Only include <sys/mount.h> on non-Linux systems
commitdf7d6f0c48612feea428643006d32c2292c662e2
authorAndreas Schneider <asn@samba.org>
Tue, 2 Aug 2022 05:55:46 +0000 (2 07:55 +0200)
committerJule Anger <janger@samba.org>
Tue, 23 Aug 2022 08:53:41 +0000 (23 08:53 +0000)
tree1f92496f78aa80cf7a644be87a0b4ea965b1e35d
parentce464a83c76ce612171f3df4933058695210915e
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>
(cherry picked from commit 766151bf5b7ef95ae4c8c98b8994e5c21c5bbec0)

Autobuild-User(v4-16-test): Jule Anger <janger@samba.org>
Autobuild-Date(v4-16-test): Tue Aug 23 08:53:41 UTC 2022 on sn-devel-184
lib/replace/system/filesys.h
lib/replace/wscript