From: Andreas Schneider Date: Fri, 29 Jul 2022 08:08:24 +0000 (+0200) Subject: lib:replace: Remove from filesys.h X-Git-Tag: samba-4.17.0rc1~156 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=7a6bd2279897ed389d10f09e5b315a7bca96e7d4;p=thirdparty%2Fsamba.git lib:replace: Remove from filesys.h You need to be careful if you include or at least since glibc 2.36. 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 Reviewed-by: Guenther Deschner Autobuild-User(master): Andreas Schneider Autobuild-Date(master): Fri Jul 29 13:08:36 UTC 2022 on sn-devel-184 --- diff --git a/lib/replace/system/filesys.h b/lib/replace/system/filesys.h index 034e5d5886c..190c6b90f93 100644 --- a/lib/replace/system/filesys.h +++ b/lib/replace/system/filesys.h @@ -36,10 +36,6 @@ #include #endif -#ifdef HAVE_SYS_MOUNT_H -#include -#endif - #ifdef HAVE_MNTENT_H #include #endif