summaryrefslogtreecommitdiff
path: root/lib/replace
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2022-08-02 07:55:11 +0200
committerRalph Boehme <slow@samba.org>2022-08-02 10:11:35 +0000
commit9459f85511a11d9a159fc8c7bb3c2d781555f87d (patch)
treecc35f5c404caef4c96f39fef5e6a28dc8753837c /lib/replace
parent3aecd6e7b501abfd2c65f8d006a67001f79dd5fc (diff)
downloadsamba-9459f85511a11d9a159fc8c7bb3c2d781555f87d.tar.gz
Revert "lib:replace: Remove <sys/mount.h> from filesys.h"
This reverts commit 7a6bd2279897ed389d10f09e5b315a7bca96e7d4. 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>
Diffstat (limited to 'lib/replace')
-rw-r--r--lib/replace/system/filesys.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/replace/system/filesys.h b/lib/replace/system/filesys.h
index 190c6b90f93..034e5d5886c 100644
--- a/lib/replace/system/filesys.h
+++ b/lib/replace/system/filesys.h
@@ -36,6 +36,10 @@
#include <sys/param.h>
#endif
+#ifdef HAVE_SYS_MOUNT_H
+#include <sys/mount.h>
+#endif
+
#ifdef HAVE_MNTENT_H
#include <mntent.h>
#endif