From 0e771263eed0b9bc364ce523765ea17dd1192841 Mon Sep 17 00:00:00 2001 From: =?utf8?q?G=C3=BCnther=20Deschner?= Date: Fri, 25 Feb 2011 23:20:06 +0100 Subject: [PATCH] s3-includes: only include system/filesys.h when needed. Guenther --- libgpo/gpo_util.c | 2 +- source3/auth/user_util.c | 1 + source3/client/client.c | 1 + source3/client/clitar.c | 1 + source3/client/smbspool.c | 1 + source3/groupdb/mapping_tdb.c | 1 + source3/include/includes.h | 1 - source3/intl/lang_tdb.c | 1 + source3/lib/conn_tdb.c | 1 + source3/lib/dbwrap_ctdb.c | 1 + source3/lib/dumpcore.c | 1 + source3/lib/eventlog/eventlog.c | 1 + source3/lib/g_lock.c | 1 + source3/lib/gencache.c | 1 + source3/lib/messages_local.c | 1 + source3/lib/pidfile.c | 1 + source3/lib/popt_common.c | 1 + source3/lib/recvfile.c | 1 + source3/lib/server_mutex.c | 1 + source3/lib/serverid.c | 1 + source3/lib/sessionid_tdb.c | 1 + source3/lib/sharesec.c | 1 + source3/lib/system.c | 1 + source3/lib/tdb_validate.c | 3 ++- source3/lib/util.c | 1 + source3/lib/util_sock.c | 1 + source3/lib/util_tdb.c | 1 + source3/libads/kerberos.c | 1 + source3/libgpo/gpo_filesync.c | 1 + source3/libsmb/clifile.c | 1 + source3/libsmb/samlogon_cache.c | 1 + source3/libsmb/smb_share_modes.c | 1 + source3/locking/brlock.c | 1 + source3/locking/locking.c | 1 + source3/locking/posix.c | 1 + source3/modules/nfs4_acls.c | 1 + source3/modules/vfs_acl_common.c | 1 + source3/modules/vfs_acl_tdb.c | 1 + source3/modules/vfs_audit.c | 1 + source3/modules/vfs_crossrename.c | 1 + source3/modules/vfs_default.c | 1 + source3/modules/vfs_dirsort.c | 1 + source3/modules/vfs_expand_msdfs.c | 1 + source3/modules/vfs_extd_audit.c | 1 + source3/modules/vfs_fake_perms.c | 1 + source3/modules/vfs_fileid.c | 1 + source3/modules/vfs_full_audit.c | 1 + source3/modules/vfs_linux_xfs_sgid.c | 1 + source3/modules/vfs_netatalk.c | 1 + source3/modules/vfs_posixacl.c | 1 + source3/modules/vfs_preopen.c | 1 + source3/modules/vfs_readahead.c | 1 + source3/modules/vfs_recycle.c | 1 + source3/modules/vfs_scannedonly.c | 1 + source3/modules/vfs_shadow_copy2.c | 1 + source3/modules/vfs_streams_depot.c | 1 + source3/modules/vfs_streams_xattr.c | 1 + source3/modules/vfs_syncops.c | 1 + source3/modules/vfs_xattr_tdb.c | 1 + source3/nmbd/nmbd.c | 1 + source3/nmbd/nmbd_namelistdb.c | 1 + source3/nmbd/nmbd_serverlistdb.c | 1 + source3/nmbd/nmbd_synclists.c | 1 + source3/nmbd/nmbd_winsserver.c | 1 + source3/param/loadparm.c | 1 + source3/passdb/account_pol.c | 1 + source3/passdb/login_cache.c | 1 + source3/passdb/pdb_smbpasswd.c | 1 + source3/passdb/pdb_tdb.c | 1 + source3/passdb/secrets.c | 1 + source3/printing/nt_printing_migrate.c | 1 + source3/printing/nt_printing_tdb.c | 1 + source3/printing/print_standard.c | 1 + source3/printing/printer_list.c | 1 + source3/printing/printing.c | 1 + source3/printing/printing_db.c | 1 + source3/printing/tests/vlp.c | 1 + source3/registry/reg_api_regf.c | 1 + source3/registry/reg_backend_db.c | 2 +- source3/registry/reg_parse.c | 1 + source3/registry/reg_perfcount.c | 1 + source3/registry/regfio.c | 1 + source3/rpc_server/samr/srv_samr_chgpasswd.c | 1 + source3/rpc_server/srv_pipe.c | 1 + source3/rpc_server/svcctl/srv_svcctl_reg.c | 1 + source3/smbd/close.c | 1 + source3/smbd/dir.c | 1 + source3/smbd/dosmode.c | 1 + source3/smbd/file_access.c | 1 + source3/smbd/filename.c | 1 + source3/smbd/mangle_hash.c | 1 + source3/smbd/msdfs.c | 1 + source3/smbd/notify_internal.c | 1 + source3/smbd/nttrans.c | 1 + source3/smbd/open.c | 1 + source3/smbd/oplock_linux.c | 1 + source3/smbd/posix_acls.c | 1 + source3/smbd/process.c | 1 + source3/smbd/reply.c | 1 + source3/smbd/server.c | 1 + source3/smbd/service.c | 1 + source3/smbd/smb2_read.c | 1 + source3/smbd/statvfs.c | 1 + source3/smbd/trans2.c | 1 + source3/smbd/vfs.c | 1 + source3/torture/cmd_vfs.c | 1 + source3/torture/denytest.c | 1 + source3/torture/locktest.c | 1 + source3/torture/locktest2.c | 1 + source3/torture/mangle_test.c | 1 + source3/torture/masktest.c | 1 + source3/torture/scanner.c | 1 + source3/torture/smbiconv.c | 1 + source3/torture/utable.c | 1 + source3/utils/dbwrap_tool.c | 1 + source3/utils/dbwrap_torture.c | 1 + source3/utils/net_conf.c | 1 + source3/utils/net_idmap.c | 1 + source3/utils/net_printing.c | 1 + source3/utils/net_rpc_printer.c | 1 + source3/utils/net_rpc_registry.c | 1 + source3/utils/net_usershare.c | 1 + source3/utils/profiles.c | 1 + source3/utils/smbcontrol.c | 1 + source3/utils/smbfilter.c | 1 + source3/utils/status.c | 1 + source3/utils/testparm.c | 1 + source3/web/cgi.c | 1 + source3/web/swat.c | 1 + source3/winbindd/idmap_autorid.c | 1 + source3/winbindd/idmap_tdb.c | 1 + source3/winbindd/winbindd_cache.c | 1 + 132 files changed, 132 insertions(+), 4 deletions(-) diff --git a/libgpo/gpo_util.c b/libgpo/gpo_util.c index 9e4687ddc95..553402a4274 100644 --- a/libgpo/gpo_util.c +++ b/libgpo/gpo_util.c @@ -18,12 +18,12 @@ */ #define TALLOC_DEPRECATED 1 #include "includes.h" +#include "system/filesys.h" #include "librpc/gen_ndr/ndr_misc.h" #include "../librpc/gen_ndr/ndr_security.h" #include "../libgpo/gpo.h" #include "../libcli/security/security.h" #if _SAMBA_BUILD_ == 4 -#include "system/filesys.h" #include "auth/auth.h" #include #include "source4/libgpo/ads_convenience.h" diff --git a/source3/auth/user_util.c b/source3/auth/user_util.c index d6c47a83321..4ed6db1f62f 100644 --- a/source3/auth/user_util.c +++ b/source3/auth/user_util.c @@ -20,6 +20,7 @@ */ #include "includes.h" +#include "system/filesys.h" /******************************************************************* Map a username from a dos name to a unix name by looking in the username diff --git a/source3/client/client.c b/source3/client/client.c index bc4816be8c3..29ef0e66793 100644 --- a/source3/client/client.c +++ b/source3/client/client.c @@ -22,6 +22,7 @@ */ #include "includes.h" +#include "system/filesys.h" #include "popt_common.h" #include "rpc_client/cli_pipe.h" #include "client/client_proto.h" diff --git a/source3/client/clitar.c b/source3/client/clitar.c index ac891aa7e8c..b46115becf3 100644 --- a/source3/client/clitar.c +++ b/source3/client/clitar.c @@ -35,6 +35,7 @@ #include "includes.h" +#include "system/filesys.h" #include "clitar.h" #include "client/client_proto.h" diff --git a/source3/client/smbspool.c b/source3/client/smbspool.c index 2add37f49d2..98c350d7ddb 100644 --- a/source3/client/smbspool.c +++ b/source3/client/smbspool.c @@ -23,6 +23,7 @@ */ #include "includes.h" +#include "system/filesys.h" #include "system/passwd.h" /* diff --git a/source3/groupdb/mapping_tdb.c b/source3/groupdb/mapping_tdb.c index cd9a59cb4f7..26345521277 100644 --- a/source3/groupdb/mapping_tdb.c +++ b/source3/groupdb/mapping_tdb.c @@ -21,6 +21,7 @@ */ #include "includes.h" +#include "system/filesys.h" #include "groupdb/mapping.h" #include "dbwrap.h" #include "../libcli/security/security.h" diff --git a/source3/include/includes.h b/source3/include/includes.h index 6fc8809e886..91b81e4ea04 100644 --- a/source3/include/includes.h +++ b/source3/include/includes.h @@ -69,7 +69,6 @@ #endif /* RELIANTUNIX */ #include "system/dir.h" -#include "system/filesys.h" #include "system/locale.h" #include "system/time.h" #include "system/wait.h" diff --git a/source3/intl/lang_tdb.c b/source3/intl/lang_tdb.c index ac7e9dda404..19a50c49f66 100644 --- a/source3/intl/lang_tdb.c +++ b/source3/intl/lang_tdb.c @@ -18,6 +18,7 @@ */ #include "includes.h" +#include "system/filesys.h" static TDB_CONTEXT *tdb; diff --git a/source3/lib/conn_tdb.c b/source3/lib/conn_tdb.c index e4c5e720144..50f0d9fa1bb 100644 --- a/source3/lib/conn_tdb.c +++ b/source3/lib/conn_tdb.c @@ -18,6 +18,7 @@ */ #include "includes.h" +#include "system/filesys.h" #include "smbd/globals.h" #include "dbwrap.h" diff --git a/source3/lib/dbwrap_ctdb.c b/source3/lib/dbwrap_ctdb.c index 46ec6dec293..9b0b66c1f0f 100644 --- a/source3/lib/dbwrap_ctdb.c +++ b/source3/lib/dbwrap_ctdb.c @@ -19,6 +19,7 @@ */ #include "includes.h" +#include "system/filesys.h" #ifdef CLUSTER_SUPPORT #include "ctdb.h" #include "ctdb_private.h" diff --git a/source3/lib/dumpcore.c b/source3/lib/dumpcore.c index 59a891205af..90acc1679b6 100644 --- a/source3/lib/dumpcore.c +++ b/source3/lib/dumpcore.c @@ -26,6 +26,7 @@ */ #include "includes.h" +#include "system/filesys.h" #ifdef HAVE_SYS_SYSCTL_H #include diff --git a/source3/lib/eventlog/eventlog.c b/source3/lib/eventlog/eventlog.c index 70062345a6a..4941199c5ea 100644 --- a/source3/lib/eventlog/eventlog.c +++ b/source3/lib/eventlog/eventlog.c @@ -21,6 +21,7 @@ */ #include "includes.h" +#include "system/filesys.h" #include "lib/eventlog/eventlog.h" #include "../libcli/security/security.h" diff --git a/source3/lib/g_lock.c b/source3/lib/g_lock.c index dfbcf8445c0..59f1d590b64 100644 --- a/source3/lib/g_lock.c +++ b/source3/lib/g_lock.c @@ -18,6 +18,7 @@ */ #include "includes.h" +#include "system/filesys.h" #include "g_lock.h" #include "librpc/gen_ndr/messaging.h" #include "ctdbd_conn.h" diff --git a/source3/lib/gencache.c b/source3/lib/gencache.c index 2bbc952108a..67c37f34e73 100644 --- a/source3/lib/gencache.c +++ b/source3/lib/gencache.c @@ -22,6 +22,7 @@ */ #include "includes.h" +#include "system/filesys.h" #include "system/glob.h" #undef DBGC_CLASS diff --git a/source3/lib/messages_local.c b/source3/lib/messages_local.c index 8cc060b9e2b..9b3a7ed7c76 100644 --- a/source3/lib/messages_local.c +++ b/source3/lib/messages_local.c @@ -43,6 +43,7 @@ */ #include "includes.h" +#include "system/filesys.h" #include "librpc/gen_ndr/messaging.h" #include "librpc/gen_ndr/ndr_messaging.h" diff --git a/source3/lib/pidfile.c b/source3/lib/pidfile.c index a3e39db7848..88d0fb07ea7 100644 --- a/source3/lib/pidfile.c +++ b/source3/lib/pidfile.c @@ -20,6 +20,7 @@ */ #include "includes.h" +#include "system/filesys.h" #ifndef O_NONBLOCK #define O_NONBLOCK diff --git a/source3/lib/popt_common.c b/source3/lib/popt_common.c index 8ff2b8023bf..128b9c18706 100644 --- a/source3/lib/popt_common.c +++ b/source3/lib/popt_common.c @@ -21,6 +21,7 @@ */ #include "includes.h" +#include "system/filesys.h" #include "popt_common.h" /* Handle command line options: diff --git a/source3/lib/recvfile.c b/source3/lib/recvfile.c index ea015964213..7cbb8a0b92e 100644 --- a/source3/lib/recvfile.c +++ b/source3/lib/recvfile.c @@ -24,6 +24,7 @@ */ #include "includes.h" +#include "system/filesys.h" /* Do this on our own in TRANSFER_BUF_SIZE chunks. * It's safe to make direct syscalls to lseek/write here diff --git a/source3/lib/server_mutex.c b/source3/lib/server_mutex.c index 43c0de1975f..1ba9d6a65be 100644 --- a/source3/lib/server_mutex.c +++ b/source3/lib/server_mutex.c @@ -19,6 +19,7 @@ */ #include "includes.h" +#include "system/filesys.h" /* For reasons known only to MS, many of their NT/Win2k versions need serialised access only. Two connections at the same time diff --git a/source3/lib/serverid.c b/source3/lib/serverid.c index a8cdcfa2a9d..f13c66e2c91 100644 --- a/source3/lib/serverid.c +++ b/source3/lib/serverid.c @@ -18,6 +18,7 @@ */ #include "includes.h" +#include "system/filesys.h" #include "serverid.h" #include "dbwrap.h" diff --git a/source3/lib/sessionid_tdb.c b/source3/lib/sessionid_tdb.c index 1a91c047523..ab54ec9ca5f 100644 --- a/source3/lib/sessionid_tdb.c +++ b/source3/lib/sessionid_tdb.c @@ -18,6 +18,7 @@ */ #include "includes.h" +#include "system/filesys.h" #include "dbwrap.h" #include "session.h" diff --git a/source3/lib/sharesec.c b/source3/lib/sharesec.c index 59be365e1ef..c84e8fa00b2 100644 --- a/source3/lib/sharesec.c +++ b/source3/lib/sharesec.c @@ -18,6 +18,7 @@ */ #include "includes.h" +#include "system/filesys.h" #include "../libcli/security/security.h" #include "../librpc/gen_ndr/ndr_security.h" #include "dbwrap.h" diff --git a/source3/lib/system.c b/source3/lib/system.c index f846dcac895..52b64772666 100644 --- a/source3/lib/system.c +++ b/source3/lib/system.c @@ -24,6 +24,7 @@ #include "system/syslog.h" #include "system/capability.h" #include "system/passwd.h" +#include "system/filesys.h" #ifdef HAVE_SYS_PRCTL_H #include diff --git a/source3/lib/tdb_validate.c b/source3/lib/tdb_validate.c index e001d9cb768..b91ea7af834 100644 --- a/source3/lib/tdb_validate.c +++ b/source3/lib/tdb_validate.c @@ -19,8 +19,9 @@ * along with this program. If not, see . */ -#include "tdb_validate.h" #include "includes.h" +#include "system/filesys.h" +#include "tdb_validate.h" /* * internal validation function, executed by the child. diff --git a/source3/lib/util.c b/source3/lib/util.c index 1bd199cca67..973670ede08 100644 --- a/source3/lib/util.c +++ b/source3/lib/util.c @@ -23,6 +23,7 @@ #include "includes.h" #include "system/passwd.h" +#include "system/filesys.h" #include "popt_common.h" #include "secrets.h" #include "ctdbd_conn.h" diff --git a/source3/lib/util_sock.c b/source3/lib/util_sock.c index 0c7db2e1343..b010c991f79 100644 --- a/source3/lib/util_sock.c +++ b/source3/lib/util_sock.c @@ -20,6 +20,7 @@ */ #include "includes.h" +#include "system/filesys.h" #include "memcache.h" #include "../lib/async_req/async_sock.h" #include "../lib/util/select.h" diff --git a/source3/lib/util_tdb.c b/source3/lib/util_tdb.c index aef4a7dec33..a9290ab94ae 100644 --- a/source3/lib/util_tdb.c +++ b/source3/lib/util_tdb.c @@ -20,6 +20,7 @@ */ #include "includes.h" +#include "system/filesys.h" #undef malloc #undef realloc #undef calloc diff --git a/source3/libads/kerberos.c b/source3/libads/kerberos.c index 11bfb4d069d..d496ade71b0 100644 --- a/source3/libads/kerberos.c +++ b/source3/libads/kerberos.c @@ -22,6 +22,7 @@ */ #include "includes.h" +#include "system/filesys.h" #include "smb_krb5.h" #include "../librpc/gen_ndr/ndr_misc.h" #include "libads/kerberos_proto.h" diff --git a/source3/libgpo/gpo_filesync.c b/source3/libgpo/gpo_filesync.c index 4e3b93809ef..be964a201e4 100644 --- a/source3/libgpo/gpo_filesync.c +++ b/source3/libgpo/gpo_filesync.c @@ -18,6 +18,7 @@ */ #include "includes.h" +#include "system/filesys.h" #include "../libgpo/gpo.h" #include "libgpo/gpo_proto.h" diff --git a/source3/libsmb/clifile.c b/source3/libsmb/clifile.c index 3ffe520fa7a..0c6740e59c5 100644 --- a/source3/libsmb/clifile.c +++ b/source3/libsmb/clifile.c @@ -19,6 +19,7 @@ */ #include "includes.h" +#include "system/filesys.h" #include "async_smb.h" #include "libsmb/clirap.h" #include "trans2.h" diff --git a/source3/libsmb/samlogon_cache.c b/source3/libsmb/samlogon_cache.c index f3ef9547b7b..facdbc7dc19 100644 --- a/source3/libsmb/samlogon_cache.c +++ b/source3/libsmb/samlogon_cache.c @@ -22,6 +22,7 @@ */ #include "includes.h" +#include "system/filesys.h" #include "librpc/gen_ndr/ndr_krb5pac.h" #include "../libcli/security/security.h" diff --git a/source3/libsmb/smb_share_modes.c b/source3/libsmb/smb_share_modes.c index bf3250bab44..1a6c2123ed6 100644 --- a/source3/libsmb/smb_share_modes.c +++ b/source3/libsmb/smb_share_modes.c @@ -25,6 +25,7 @@ */ #include "includes.h" +#include "system/filesys.h" #include "smb_share_modes.h" /* Database context handle. */ diff --git a/source3/locking/brlock.c b/source3/locking/brlock.c index 95194dad16b..01528970816 100644 --- a/source3/locking/brlock.c +++ b/source3/locking/brlock.c @@ -25,6 +25,7 @@ used. This allows us to provide the same semantics as NT */ #include "includes.h" +#include "system/filesys.h" #include "librpc/gen_ndr/messaging.h" #include "smbd/globals.h" #include "dbwrap.h" diff --git a/source3/locking/locking.c b/source3/locking/locking.c index 32d1b34faae..bfdf8092fd4 100644 --- a/source3/locking/locking.c +++ b/source3/locking/locking.c @@ -36,6 +36,7 @@ */ #include "includes.h" +#include "system/filesys.h" #include "librpc/gen_ndr/messaging.h" #include "smbd/globals.h" #include "dbwrap.h" diff --git a/source3/locking/posix.c b/source3/locking/posix.c index 3bddb630dba..c0eca295a23 100644 --- a/source3/locking/posix.c +++ b/source3/locking/posix.c @@ -22,6 +22,7 @@ */ #include "includes.h" +#include "system/filesys.h" #include "dbwrap.h" #undef DBGC_CLASS diff --git a/source3/modules/nfs4_acls.c b/source3/modules/nfs4_acls.c index 952bc9c6c1b..bb457fdc6a2 100644 --- a/source3/modules/nfs4_acls.c +++ b/source3/modules/nfs4_acls.c @@ -23,6 +23,7 @@ #include "../libcli/security/dom_sid.h" #include "../libcli/security/security.h" #include "include/dbwrap.h" +#include "system/filesys.h" #undef DBGC_CLASS #define DBGC_CLASS DBGC_ACLS diff --git a/source3/modules/vfs_acl_common.c b/source3/modules/vfs_acl_common.c index e01ac4ec5f3..0e513ee682c 100644 --- a/source3/modules/vfs_acl_common.c +++ b/source3/modules/vfs_acl_common.c @@ -19,6 +19,7 @@ * along with this program; if not, see . */ +#include "system/filesys.h" #include "../libcli/security/security.h" #include "../librpc/gen_ndr/ndr_security.h" diff --git a/source3/modules/vfs_acl_tdb.c b/source3/modules/vfs_acl_tdb.c index 5fc1bc03f22..27aa37a8e07 100644 --- a/source3/modules/vfs_acl_tdb.c +++ b/source3/modules/vfs_acl_tdb.c @@ -21,6 +21,7 @@ /* NOTE: This is an experimental module, not yet finished. JRA. */ #include "includes.h" +#include "system/filesys.h" #include "librpc/gen_ndr/xattr.h" #include "librpc/gen_ndr/ndr_xattr.h" #include "../lib/crypto/crypto.h" diff --git a/source3/modules/vfs_audit.c b/source3/modules/vfs_audit.c index a073da8d912..cb1a5d3a0c3 100644 --- a/source3/modules/vfs_audit.c +++ b/source3/modules/vfs_audit.c @@ -22,6 +22,7 @@ #include "includes.h" +#include "system/filesys.h" #include "system/syslog.h" #undef DBGC_CLASS diff --git a/source3/modules/vfs_crossrename.c b/source3/modules/vfs_crossrename.c index ad8f45ac3f1..a754b1ff769 100644 --- a/source3/modules/vfs_crossrename.c +++ b/source3/modules/vfs_crossrename.c @@ -16,6 +16,7 @@ */ #include "includes.h" +#include "system/filesys.h" #define MODULE "crossrename" diff --git a/source3/modules/vfs_default.c b/source3/modules/vfs_default.c index b7e70a608b0..886798ebc3d 100644 --- a/source3/modules/vfs_default.c +++ b/source3/modules/vfs_default.c @@ -19,6 +19,7 @@ */ #include "includes.h" +#include "system/filesys.h" #undef DBGC_CLASS #define DBGC_CLASS DBGC_VFS diff --git a/source3/modules/vfs_dirsort.c b/source3/modules/vfs_dirsort.c index 82a3a4bb98f..050c7342c09 100644 --- a/source3/modules/vfs_dirsort.c +++ b/source3/modules/vfs_dirsort.c @@ -19,6 +19,7 @@ */ #include "includes.h" +#include "system/filesys.h" static int compare_dirent (const SMB_STRUCT_DIRENT *da, const SMB_STRUCT_DIRENT *db) { diff --git a/source3/modules/vfs_expand_msdfs.c b/source3/modules/vfs_expand_msdfs.c index 96f68e02c8d..45cc32c88e5 100644 --- a/source3/modules/vfs_expand_msdfs.c +++ b/source3/modules/vfs_expand_msdfs.c @@ -18,6 +18,7 @@ */ #include "includes.h" +#include "system/filesys.h" #include "../librpc/gen_ndr/ndr_netlogon.h" #include "smbd/globals.h" diff --git a/source3/modules/vfs_extd_audit.c b/source3/modules/vfs_extd_audit.c index dd2f9a832e1..326e40428eb 100644 --- a/source3/modules/vfs_extd_audit.c +++ b/source3/modules/vfs_extd_audit.c @@ -23,6 +23,7 @@ #include "includes.h" +#include "system/filesys.h" #include "system/syslog.h" static int vfs_extd_audit_debug_level = DBGC_VFS; diff --git a/source3/modules/vfs_fake_perms.c b/source3/modules/vfs_fake_perms.c index af8b4106572..344b15f95da 100644 --- a/source3/modules/vfs_fake_perms.c +++ b/source3/modules/vfs_fake_perms.c @@ -22,6 +22,7 @@ */ #include "includes.h" +#include "system/filesys.h" #undef DBGC_CLASS #define DBGC_CLASS DBGC_VFS diff --git a/source3/modules/vfs_fileid.c b/source3/modules/vfs_fileid.c index 559b520d1cd..27da7d63bb0 100644 --- a/source3/modules/vfs_fileid.c +++ b/source3/modules/vfs_fileid.c @@ -20,6 +20,7 @@ */ #include "includes.h" +#include "system/filesys.h" static int vfs_fileid_debug_level = DBGC_VFS; diff --git a/source3/modules/vfs_full_audit.c b/source3/modules/vfs_full_audit.c index aba5f83b441..71a87233152 100644 --- a/source3/modules/vfs_full_audit.c +++ b/source3/modules/vfs_full_audit.c @@ -58,6 +58,7 @@ #include "includes.h" +#include "system/filesys.h" #include "system/syslog.h" #include "../librpc/gen_ndr/ndr_netlogon.h" diff --git a/source3/modules/vfs_linux_xfs_sgid.c b/source3/modules/vfs_linux_xfs_sgid.c index e01b2d11573..ca2b5b58a79 100644 --- a/source3/modules/vfs_linux_xfs_sgid.c +++ b/source3/modules/vfs_linux_xfs_sgid.c @@ -19,6 +19,7 @@ */ #include "includes.h" +#include "system/filesys.h" static int linux_xfs_sgid_mkdir(vfs_handle_struct *handle, const char *path, mode_t mode) { diff --git a/source3/modules/vfs_netatalk.c b/source3/modules/vfs_netatalk.c index 734c603618f..11559aea0e4 100644 --- a/source3/modules/vfs_netatalk.c +++ b/source3/modules/vfs_netatalk.c @@ -19,6 +19,7 @@ */ #include "includes.h" +#include "system/filesys.h" #undef DBGC_CLASS #define DBGC_CLASS DBGC_VFS diff --git a/source3/modules/vfs_posixacl.c b/source3/modules/vfs_posixacl.c index 9dd25a781e9..6bdfeda6465 100644 --- a/source3/modules/vfs_posixacl.c +++ b/source3/modules/vfs_posixacl.c @@ -18,6 +18,7 @@ */ #include "includes.h" +#include "system/filesys.h" /* prototypes for static functions first - for clarity */ diff --git a/source3/modules/vfs_preopen.c b/source3/modules/vfs_preopen.c index e545901035b..12a2f9df374 100644 --- a/source3/modules/vfs_preopen.c +++ b/source3/modules/vfs_preopen.c @@ -19,6 +19,7 @@ */ #include "includes.h" +#include "system/filesys.h" struct preopen_state; diff --git a/source3/modules/vfs_readahead.c b/source3/modules/vfs_readahead.c index e7a7dd305cc..0fd745d66a2 100644 --- a/source3/modules/vfs_readahead.c +++ b/source3/modules/vfs_readahead.c @@ -16,6 +16,7 @@ */ #include "includes.h" +#include "system/filesys.h" struct readahead_data { SMB_OFF_T off_bound; diff --git a/source3/modules/vfs_recycle.c b/source3/modules/vfs_recycle.c index 626147ca83a..607ce3a4b83 100644 --- a/source3/modules/vfs_recycle.c +++ b/source3/modules/vfs_recycle.c @@ -23,6 +23,7 @@ */ #include "includes.h" +#include "system/filesys.h" #include "../librpc/gen_ndr/ndr_netlogon.h" #define ALLOC_CHECK(ptr, label) do { if ((ptr) == NULL) { DEBUG(0, ("recycle.bin: out of memory!\n")); errno = ENOMEM; goto label; } } while(0) diff --git a/source3/modules/vfs_scannedonly.c b/source3/modules/vfs_scannedonly.c index fd6c3e2077b..db18a077f50 100644 --- a/source3/modules/vfs_scannedonly.c +++ b/source3/modules/vfs_scannedonly.c @@ -48,6 +48,7 @@ */ #include "includes.h" +#include "system/filesys.h" #include "config.h" diff --git a/source3/modules/vfs_shadow_copy2.c b/source3/modules/vfs_shadow_copy2.c index e3c3f9f3a06..788270cf151 100644 --- a/source3/modules/vfs_shadow_copy2.c +++ b/source3/modules/vfs_shadow_copy2.c @@ -20,6 +20,7 @@ */ #include "includes.h" +#include "system/filesys.h" /* diff --git a/source3/modules/vfs_streams_depot.c b/source3/modules/vfs_streams_depot.c index 9870d0d571b..ac0b95a63b9 100644 --- a/source3/modules/vfs_streams_depot.c +++ b/source3/modules/vfs_streams_depot.c @@ -18,6 +18,7 @@ */ #include "includes.h" +#include "system/filesys.h" #undef DBGC_CLASS #define DBGC_CLASS DBGC_VFS diff --git a/source3/modules/vfs_streams_xattr.c b/source3/modules/vfs_streams_xattr.c index fb83c5b789f..6912a8b6109 100644 --- a/source3/modules/vfs_streams_xattr.c +++ b/source3/modules/vfs_streams_xattr.c @@ -22,6 +22,7 @@ */ #include "includes.h" +#include "system/filesys.h" #include "../lib/crypto/md5.h" #undef DBGC_CLASS diff --git a/source3/modules/vfs_syncops.c b/source3/modules/vfs_syncops.c index d5770d092cd..a828e921656 100644 --- a/source3/modules/vfs_syncops.c +++ b/source3/modules/vfs_syncops.c @@ -20,6 +20,7 @@ */ #include "includes.h" +#include "system/filesys.h" /* diff --git a/source3/modules/vfs_xattr_tdb.c b/source3/modules/vfs_xattr_tdb.c index 594f2e635c9..b98ebb3df60 100644 --- a/source3/modules/vfs_xattr_tdb.c +++ b/source3/modules/vfs_xattr_tdb.c @@ -18,6 +18,7 @@ */ #include "includes.h" +#include "system/filesys.h" #include "librpc/gen_ndr/xattr.h" #include "librpc/gen_ndr/ndr_xattr.h" #include "../librpc/gen_ndr/ndr_netlogon.h" diff --git a/source3/nmbd/nmbd.c b/source3/nmbd/nmbd.c index 9796815b27f..ac199c50517 100644 --- a/source3/nmbd/nmbd.c +++ b/source3/nmbd/nmbd.c @@ -20,6 +20,7 @@ */ #include "includes.h" +#include "system/filesys.h" #include "popt_common.h" #include "librpc/gen_ndr/messaging.h" #include "nmbd/nmbd.h" diff --git a/source3/nmbd/nmbd_namelistdb.c b/source3/nmbd/nmbd_namelistdb.c index 9c5d0efde2a..c6315f665d7 100644 --- a/source3/nmbd/nmbd_namelistdb.c +++ b/source3/nmbd/nmbd_namelistdb.c @@ -21,6 +21,7 @@ */ #include "includes.h" +#include "system/filesys.h" #include "nmbd/nmbd.h" uint16 samba_nb_type = 0; /* samba's NetBIOS name type */ diff --git a/source3/nmbd/nmbd_serverlistdb.c b/source3/nmbd/nmbd_serverlistdb.c index acb5310a640..01627c33313 100644 --- a/source3/nmbd/nmbd_serverlistdb.c +++ b/source3/nmbd/nmbd_serverlistdb.c @@ -21,6 +21,7 @@ */ #include "includes.h" +#include "system/filesys.h" #include "../librpc/gen_ndr/svcctl.h" #include "nmbd/nmbd.h" diff --git a/source3/nmbd/nmbd_synclists.c b/source3/nmbd/nmbd_synclists.c index 136a5c416cf..2fd510cedd8 100644 --- a/source3/nmbd/nmbd_synclists.c +++ b/source3/nmbd/nmbd_synclists.c @@ -27,6 +27,7 @@ also allows us to have more than 1 sync going at once (tridge) */ #include "includes.h" +#include "system/filesys.h" #include "../librpc/gen_ndr/svcctl.h" #include "nmbd/nmbd.h" #include "libsmb/clirap.h" diff --git a/source3/nmbd/nmbd_winsserver.c b/source3/nmbd/nmbd_winsserver.c index 2f48bc737f3..976b99023eb 100644 --- a/source3/nmbd/nmbd_winsserver.c +++ b/source3/nmbd/nmbd_winsserver.c @@ -21,6 +21,7 @@ */ #include "includes.h" +#include "system/filesys.h" #include "nmbd/nmbd.h" #define WINS_LIST "wins.dat" diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c index 49b9248ca67..172e5c446ab 100644 --- a/source3/param/loadparm.c +++ b/source3/param/loadparm.c @@ -52,6 +52,7 @@ */ #include "includes.h" +#include "system/filesys.h" #include "printing.h" #include "lib/smbconf/smbconf.h" #include "lib/smbconf/smbconf_init.h" diff --git a/source3/passdb/account_pol.c b/source3/passdb/account_pol.c index 40d8ddd4c9c..a30b9ca32a7 100644 --- a/source3/passdb/account_pol.c +++ b/source3/passdb/account_pol.c @@ -20,6 +20,7 @@ */ #include "includes.h" +#include "system/filesys.h" #include "dbwrap.h" #include "../libcli/security/security.h" static struct db_context *db; diff --git a/source3/passdb/login_cache.c b/source3/passdb/login_cache.c index eba83ea686c..a12265642df 100644 --- a/source3/passdb/login_cache.c +++ b/source3/passdb/login_cache.c @@ -18,6 +18,7 @@ */ #include "includes.h" +#include "system/filesys.h" #undef DBGC_CLASS #define DBGC_CLASS DBGC_PASSDB diff --git a/source3/passdb/pdb_smbpasswd.c b/source3/passdb/pdb_smbpasswd.c index 9feb9bfe3a5..c39394bfa58 100644 --- a/source3/passdb/pdb_smbpasswd.c +++ b/source3/passdb/pdb_smbpasswd.c @@ -22,6 +22,7 @@ #include "includes.h" #include "system/passwd.h" +#include "system/filesys.h" #include "../librpc/gen_ndr/samr.h" #include "../libcli/security/security.h" diff --git a/source3/passdb/pdb_tdb.c b/source3/passdb/pdb_tdb.c index da61e48a99d..f2495382086 100644 --- a/source3/passdb/pdb_tdb.c +++ b/source3/passdb/pdb_tdb.c @@ -23,6 +23,7 @@ */ #include "includes.h" +#include "system/filesys.h" #include "dbwrap.h" #include "../libcli/security/security.h" diff --git a/source3/passdb/secrets.c b/source3/passdb/secrets.c index 49a01254e3e..db9fb7275de 100644 --- a/source3/passdb/secrets.c +++ b/source3/passdb/secrets.c @@ -23,6 +23,7 @@ such as the local SID and machine trust password */ #include "includes.h" +#include "system/filesys.h" #include "../libcli/auth/libcli_auth.h" #include "librpc/gen_ndr/ndr_secrets.h" #include "secrets.h" diff --git a/source3/printing/nt_printing_migrate.c b/source3/printing/nt_printing_migrate.c index 59fd04067b5..a15c41beea8 100644 --- a/source3/printing/nt_printing_migrate.c +++ b/source3/printing/nt_printing_migrate.c @@ -19,6 +19,7 @@ */ #include "includes.h" +#include "system/filesys.h" #include "printing/nt_printing_migrate.h" #include "librpc/gen_ndr/ndr_ntprinting.h" diff --git a/source3/printing/nt_printing_tdb.c b/source3/printing/nt_printing_tdb.c index 94671983a02..98ac46797fc 100644 --- a/source3/printing/nt_printing_tdb.c +++ b/source3/printing/nt_printing_tdb.c @@ -21,6 +21,7 @@ */ #include "includes.h" +#include "system/filesys.h" #include "printing/nt_printing_tdb.h" #include "librpc/gen_ndr/spoolss.h" #include "librpc/gen_ndr/ndr_security.h" diff --git a/source3/printing/print_standard.c b/source3/printing/print_standard.c index e38777315e4..a8460935c99 100644 --- a/source3/printing/print_standard.c +++ b/source3/printing/print_standard.c @@ -55,6 +55,7 @@ #include "includes.h" +#include "system/filesys.h" #include "printing/pcap.h" /* handle standard printcap - moved from pcap_printer_fn() */ diff --git a/source3/printing/printer_list.c b/source3/printing/printer_list.c index d36a746e452..417eea777bb 100644 --- a/source3/printing/printer_list.c +++ b/source3/printing/printer_list.c @@ -18,6 +18,7 @@ */ #include "includes.h" +#include "system/filesys.h" #include "dbwrap.h" #include "printer_list.h" diff --git a/source3/printing/printing.c b/source3/printing/printing.c index fb33789a7fd..1ebf41b7baa 100644 --- a/source3/printing/printing.c +++ b/source3/printing/printing.c @@ -21,6 +21,7 @@ #include "includes.h" #include "system/syslog.h" +#include "system/filesys.h" #include "printing.h" #include "librpc/gen_ndr/messaging.h" #include "../librpc/gen_ndr/ndr_spoolss.h" diff --git a/source3/printing/printing_db.c b/source3/printing/printing_db.c index 762b418bb1e..70accab9350 100644 --- a/source3/printing/printing_db.c +++ b/source3/printing/printing_db.c @@ -20,6 +20,7 @@ */ #include "includes.h" +#include "system/filesys.h" #include "printing.h" static struct tdb_print_db *print_db_head; diff --git a/source3/printing/tests/vlp.c b/source3/printing/tests/vlp.c index ab05a425001..4bff290e28a 100644 --- a/source3/printing/tests/vlp.c +++ b/source3/printing/tests/vlp.c @@ -21,6 +21,7 @@ #include "includes.h" #include "system/passwd.h" +#include "system/filesys.h" #include "printing.h" #ifdef malloc diff --git a/source3/registry/reg_api_regf.c b/source3/registry/reg_api_regf.c index 3625fc4cabe..97eab03a706 100644 --- a/source3/registry/reg_api_regf.c +++ b/source3/registry/reg_api_regf.c @@ -19,6 +19,7 @@ */ #include "includes.h" +#include "system/filesys.h" #include "registry.h" #include "reg_api_regf.h" #include "reg_cachehook.h" diff --git a/source3/registry/reg_backend_db.c b/source3/registry/reg_backend_db.c index 29b1a48c3cd..4aed6e73e17 100644 --- a/source3/registry/reg_backend_db.c +++ b/source3/registry/reg_backend_db.c @@ -21,7 +21,7 @@ /* Implementation of internal registry database functions. */ #include "includes.h" - +#include "system/filesys.h" #include "registry.h" #include "reg_db.h" #include "reg_util_internal.h" diff --git a/source3/registry/reg_parse.c b/source3/registry/reg_parse.c index c03b39c29d7..0c596a8f5e0 100644 --- a/source3/registry/reg_parse.c +++ b/source3/registry/reg_parse.c @@ -26,6 +26,7 @@ */ #include "includes.h" +#include "system/filesys.h" #include "cbuf.h" #include "srprs.h" #include "reg_parse_internal.h" diff --git a/source3/registry/reg_perfcount.c b/source3/registry/reg_perfcount.c index d660dd0565b..136f67fd8fb 100644 --- a/source3/registry/reg_perfcount.c +++ b/source3/registry/reg_perfcount.c @@ -20,6 +20,7 @@ */ #include "includes.h" +#include "system/filesys.h" #include "../librpc/gen_ndr/perfcount.h" #include "registry.h" #include "reg_perfcount.h" diff --git a/source3/registry/regfio.c b/source3/registry/regfio.c index 507f7208235..5d3fdba3c01 100644 --- a/source3/registry/regfio.c +++ b/source3/registry/regfio.c @@ -18,6 +18,7 @@ */ #include "includes.h" +#include "system/filesys.h" #include "regfio.h" #include "../librpc/gen_ndr/ndr_security.h" diff --git a/source3/rpc_server/samr/srv_samr_chgpasswd.c b/source3/rpc_server/samr/srv_samr_chgpasswd.c index 910b782c569..613758f4546 100644 --- a/source3/rpc_server/samr/srv_samr_chgpasswd.c +++ b/source3/rpc_server/samr/srv_samr_chgpasswd.c @@ -48,6 +48,7 @@ #include "includes.h" #include "system/terminal.h" #include "system/passwd.h" +#include "system/filesys.h" #include "../libcli/auth/libcli_auth.h" #include "../lib/crypto/arcfour.h" #include "rpc_server/samr/srv_samr_util.h" diff --git a/source3/rpc_server/srv_pipe.c b/source3/rpc_server/srv_pipe.c index 27d7f609243..3f4c673b211 100644 --- a/source3/rpc_server/srv_pipe.c +++ b/source3/rpc_server/srv_pipe.c @@ -28,6 +28,7 @@ */ #include "includes.h" +#include "system/filesys.h" #include "srv_pipe_internal.h" #include "../librpc/gen_ndr/ndr_schannel.h" #include "../libcli/auth/schannel.h" diff --git a/source3/rpc_server/svcctl/srv_svcctl_reg.c b/source3/rpc_server/svcctl/srv_svcctl_reg.c index f4876222fb3..fb97c13fa5b 100644 --- a/source3/rpc_server/svcctl/srv_svcctl_reg.c +++ b/source3/rpc_server/svcctl/srv_svcctl_reg.c @@ -22,6 +22,7 @@ */ #include "includes.h" +#include "system/filesys.h" #include "services/services.h" #include "services/svc_winreg_glue.h" #include "../librpc/gen_ndr/ndr_winreg_c.h" diff --git a/source3/smbd/close.c b/source3/smbd/close.c index 547705bc571..b2b8c2283a6 100644 --- a/source3/smbd/close.c +++ b/source3/smbd/close.c @@ -20,6 +20,7 @@ */ #include "includes.h" +#include "system/filesys.h" #include "printing.h" #include "librpc/gen_ndr/messaging.h" #include "smbd/globals.h" diff --git a/source3/smbd/dir.c b/source3/smbd/dir.c index a85e5a7e1d1..c1ba6764fcd 100644 --- a/source3/smbd/dir.c +++ b/source3/smbd/dir.c @@ -19,6 +19,7 @@ */ #include "includes.h" +#include "system/filesys.h" #include "smbd/globals.h" #include "libcli/security/security.h" diff --git a/source3/smbd/dosmode.c b/source3/smbd/dosmode.c index 325a3c64610..49ddf161ad2 100644 --- a/source3/smbd/dosmode.c +++ b/source3/smbd/dosmode.c @@ -19,6 +19,7 @@ */ #include "includes.h" +#include "system/filesys.h" #include "librpc/gen_ndr/ndr_xattr.h" #include "../libcli/security/security.h" diff --git a/source3/smbd/file_access.c b/source3/smbd/file_access.c index 28d028fcb1a..5fb0e924c50 100644 --- a/source3/smbd/file_access.c +++ b/source3/smbd/file_access.c @@ -19,6 +19,7 @@ */ #include "includes.h" +#include "system/filesys.h" #include "../libcli/security/security.h" #include "../librpc/gen_ndr/ndr_security.h" diff --git a/source3/smbd/filename.c b/source3/smbd/filename.c index 03877218de5..4238e58d106 100644 --- a/source3/smbd/filename.c +++ b/source3/smbd/filename.c @@ -25,6 +25,7 @@ */ #include "includes.h" +#include "system/filesys.h" #include "fake_file.h" static NTSTATUS build_stream_path(TALLOC_CTX *mem_ctx, diff --git a/source3/smbd/mangle_hash.c b/source3/smbd/mangle_hash.c index 13e797c0e54..89df10a7571 100644 --- a/source3/smbd/mangle_hash.c +++ b/source3/smbd/mangle_hash.c @@ -21,6 +21,7 @@ */ #include "includes.h" +#include "system/filesys.h" #include "smbd/globals.h" #include "mangle.h" diff --git a/source3/smbd/msdfs.c b/source3/smbd/msdfs.c index d5d46fd539a..17caa36d5d1 100644 --- a/source3/smbd/msdfs.c +++ b/source3/smbd/msdfs.c @@ -22,6 +22,7 @@ #define DBGC_CLASS DBGC_MSDFS #include "includes.h" +#include "system/filesys.h" #include "smbd/globals.h" #include "msdfs.h" diff --git a/source3/smbd/notify_internal.c b/source3/smbd/notify_internal.c index acb438b1189..3b481cdef9f 100644 --- a/source3/smbd/notify_internal.c +++ b/source3/smbd/notify_internal.c @@ -24,6 +24,7 @@ */ #include "includes.h" +#include "system/filesys.h" #include "librpc/gen_ndr/ndr_notify.h" #include "librpc/gen_ndr/messaging.h" #include "dbwrap.h" diff --git a/source3/smbd/nttrans.c b/source3/smbd/nttrans.c index afc4f54cf29..c1256f259fd 100644 --- a/source3/smbd/nttrans.c +++ b/source3/smbd/nttrans.c @@ -19,6 +19,7 @@ */ #include "includes.h" +#include "system/filesys.h" #include "smbd/globals.h" #include "fake_file.h" #include "../libcli/security/security.h" diff --git a/source3/smbd/open.c b/source3/smbd/open.c index 937117bee06..3c91d8485e7 100644 --- a/source3/smbd/open.c +++ b/source3/smbd/open.c @@ -20,6 +20,7 @@ */ #include "includes.h" +#include "system/filesys.h" #include "printing.h" #include "smbd/globals.h" #include "fake_file.h" diff --git a/source3/smbd/oplock_linux.c b/source3/smbd/oplock_linux.c index bdc86b9fb90..efc8c70d398 100644 --- a/source3/smbd/oplock_linux.c +++ b/source3/smbd/oplock_linux.c @@ -19,6 +19,7 @@ #define DBGC_CLASS DBGC_LOCKING #include "includes.h" +#include "system/filesys.h" #include "smbd/globals.h" #if HAVE_KERNEL_OPLOCKS_LINUX diff --git a/source3/smbd/posix_acls.c b/source3/smbd/posix_acls.c index 8e2c9d871b9..0e7ab87b6e6 100644 --- a/source3/smbd/posix_acls.c +++ b/source3/smbd/posix_acls.c @@ -20,6 +20,7 @@ */ #include "includes.h" +#include "system/filesys.h" #include "../libcli/security/security.h" #include "trans2.h" diff --git a/source3/smbd/process.c b/source3/smbd/process.c index 48d317bba29..29eb201bed4 100644 --- a/source3/smbd/process.c +++ b/source3/smbd/process.c @@ -19,6 +19,7 @@ */ #include "includes.h" +#include "system/filesys.h" #include "smbd/globals.h" #include "librpc/gen_ndr/netlogon.h" #include "librpc/gen_ndr/messaging.h" diff --git a/source3/smbd/reply.c b/source3/smbd/reply.c index 26a73b8582d..7562ca18050 100644 --- a/source3/smbd/reply.c +++ b/source3/smbd/reply.c @@ -25,6 +25,7 @@ */ #include "includes.h" +#include "system/filesys.h" #include "printing.h" #include "smbd/globals.h" #include "fake_file.h" diff --git a/source3/smbd/server.c b/source3/smbd/server.c index 8c7b146e19e..7461eef62fc 100644 --- a/source3/smbd/server.c +++ b/source3/smbd/server.c @@ -22,6 +22,7 @@ */ #include "includes.h" +#include "system/filesys.h" #include "popt_common.h" #include "smbd/globals.h" #include "librpc/gen_ndr/messaging.h" diff --git a/source3/smbd/service.c b/source3/smbd/service.c index 00b5294be66..800b79989f4 100644 --- a/source3/smbd/service.c +++ b/source3/smbd/service.c @@ -18,6 +18,7 @@ */ #include "includes.h" +#include "system/filesys.h" #include "smbd/globals.h" #include "../librpc/gen_ndr/netlogon.h" #include "../libcli/security/security.h" diff --git a/source3/smbd/smb2_read.c b/source3/smbd/smb2_read.c index d5f6896f645..ce3955b53ab 100644 --- a/source3/smbd/smb2_read.c +++ b/source3/smbd/smb2_read.c @@ -19,6 +19,7 @@ */ #include "includes.h" +#include "system/filesys.h" #include "smbd/globals.h" #include "../libcli/smb/smb_common.h" #include "libcli/security/security.h" diff --git a/source3/smbd/statvfs.c b/source3/smbd/statvfs.c index ee33e13a48d..55469f5d083 100644 --- a/source3/smbd/statvfs.c +++ b/source3/smbd/statvfs.c @@ -20,6 +20,7 @@ */ #include "includes.h" +#include "system/filesys.h" #if defined(LINUX) && defined(HAVE_FSID_INT) static int linux_statvfs(const char *path, vfs_statvfs_struct *statbuf) diff --git a/source3/smbd/trans2.c b/source3/smbd/trans2.c index 1fcbfaac231..5e8c0c80d89 100644 --- a/source3/smbd/trans2.c +++ b/source3/smbd/trans2.c @@ -24,6 +24,7 @@ */ #include "includes.h" +#include "system/filesys.h" #include "version.h" #include "smbd/globals.h" #include "../libcli/auth/libcli_auth.h" diff --git a/source3/smbd/vfs.c b/source3/smbd/vfs.c index 41d36504131..7af94f94b5b 100644 --- a/source3/smbd/vfs.c +++ b/source3/smbd/vfs.c @@ -24,6 +24,7 @@ */ #include "includes.h" +#include "system/filesys.h" #include "smbd/globals.h" #include "memcache.h" diff --git a/source3/torture/cmd_vfs.c b/source3/torture/cmd_vfs.c index e1772dc22e2..0720f084aa1 100644 --- a/source3/torture/cmd_vfs.c +++ b/source3/torture/cmd_vfs.c @@ -21,6 +21,7 @@ #include "includes.h" #include "system/passwd.h" +#include "system/filesys.h" #include "vfstest.h" #include "../lib/util/util_pw.h" diff --git a/source3/torture/denytest.c b/source3/torture/denytest.c index 4762bf7d0eb..1f60734fa7a 100644 --- a/source3/torture/denytest.c +++ b/source3/torture/denytest.c @@ -18,6 +18,7 @@ */ #include "includes.h" +#include "system/filesys.h" #include "torture/proto.h" extern bool torture_showall; diff --git a/source3/torture/locktest.c b/source3/torture/locktest.c index 9a47f991ea3..6a53c88e5af 100644 --- a/source3/torture/locktest.c +++ b/source3/torture/locktest.c @@ -18,6 +18,7 @@ */ #include "includes.h" +#include "system/filesys.h" static fstring password[2]; static fstring username[2]; diff --git a/source3/torture/locktest2.c b/source3/torture/locktest2.c index 782427b8a9c..b51b8f2cad6 100644 --- a/source3/torture/locktest2.c +++ b/source3/torture/locktest2.c @@ -18,6 +18,7 @@ */ #include "includes.h" +#include "system/filesys.h" static fstring password; static fstring username; diff --git a/source3/torture/mangle_test.c b/source3/torture/mangle_test.c index 6b9263e5de2..dd684671409 100644 --- a/source3/torture/mangle_test.c +++ b/source3/torture/mangle_test.c @@ -18,6 +18,7 @@ */ #include "includes.h" +#include "system/filesys.h" #include "torture/proto.h" #include "libsmb/clirap.h" diff --git a/source3/torture/masktest.c b/source3/torture/masktest.c index c94ed0c9a9a..bf7e6fbb3c1 100644 --- a/source3/torture/masktest.c +++ b/source3/torture/masktest.c @@ -18,6 +18,7 @@ */ #include "includes.h" +#include "system/filesys.h" #include "trans2.h" static fstring password; diff --git a/source3/torture/scanner.c b/source3/torture/scanner.c index fa7d6fbe393..c7d3ebc2913 100644 --- a/source3/torture/scanner.c +++ b/source3/torture/scanner.c @@ -18,6 +18,7 @@ */ #include "includes.h" +#include "system/filesys.h" #include "torture/proto.h" #define VERBOSE 0 diff --git a/source3/torture/smbiconv.c b/source3/torture/smbiconv.c index 0ba796d9683..88ad6fef609 100644 --- a/source3/torture/smbiconv.c +++ b/source3/torture/smbiconv.c @@ -21,6 +21,7 @@ */ #include "includes.h" +#include "system/filesys.h" #include "popt_common.h" #undef realloc diff --git a/source3/torture/utable.c b/source3/torture/utable.c index b7789d35bce..3ddb4688341 100644 --- a/source3/torture/utable.c +++ b/source3/torture/utable.c @@ -18,6 +18,7 @@ */ #include "includes.h" +#include "system/filesys.h" #include "torture/proto.h" #include "../libcli/security/security.h" #include "libsmb/clirap.h" diff --git a/source3/utils/dbwrap_tool.c b/source3/utils/dbwrap_tool.c index 796bea938d4..f65964d7f97 100644 --- a/source3/utils/dbwrap_tool.c +++ b/source3/utils/dbwrap_tool.c @@ -20,6 +20,7 @@ */ #include "includes.h" +#include "system/filesys.h" #include "dbwrap.h" typedef enum { OP_FETCH, OP_STORE, OP_DELETE, OP_ERASE, OP_LISTKEYS } dbwrap_op; diff --git a/source3/utils/dbwrap_torture.c b/source3/utils/dbwrap_torture.c index 22c0a64a52a..e9bf98a078a 100644 --- a/source3/utils/dbwrap_torture.c +++ b/source3/utils/dbwrap_torture.c @@ -20,6 +20,7 @@ */ #include "includes.h" +#include "system/filesys.h" #include "popt_common.h" #include "dbwrap.h" diff --git a/source3/utils/net_conf.c b/source3/utils/net_conf.c index 9e536b77ccf..fd00c008dd6 100644 --- a/source3/utils/net_conf.c +++ b/source3/utils/net_conf.c @@ -28,6 +28,7 @@ */ #include "includes.h" +#include "system/filesys.h" #include "utils/net.h" #include "lib/smbconf/smbconf.h" #include "lib/smbconf/smbconf_init.h" diff --git a/source3/utils/net_idmap.c b/source3/utils/net_idmap.c index e7bac53e5fb..79f69f24a13 100644 --- a/source3/utils/net_idmap.c +++ b/source3/utils/net_idmap.c @@ -19,6 +19,7 @@ #define FOO(x) (x) #include "includes.h" +#include "system/filesys.h" #include "utils/net.h" #include "secrets.h" #include "idmap.h" diff --git a/source3/utils/net_printing.c b/source3/utils/net_printing.c index 689fac214b9..8019d4ff612 100644 --- a/source3/utils/net_printing.c +++ b/source3/utils/net_printing.c @@ -20,6 +20,7 @@ */ #include "includes.h" +#include "system/filesys.h" #include "utils/net.h" #include "librpc/gen_ndr/ndr_ntprinting.h" #include "librpc/gen_ndr/ndr_spoolss_c.h" diff --git a/source3/utils/net_rpc_printer.c b/source3/utils/net_rpc_printer.c index 8be4fb145c2..0e63d189470 100644 --- a/source3/utils/net_rpc_printer.c +++ b/source3/utils/net_rpc_printer.c @@ -17,6 +17,7 @@ along with this program. If not, see . */ #include "includes.h" +#include "system/filesys.h" #include "utils/net.h" #include "../librpc/gen_ndr/ndr_spoolss_c.h" #include "rpc_client/cli_spoolss.h" diff --git a/source3/utils/net_rpc_registry.c b/source3/utils/net_rpc_registry.c index 809ec590974..5ccd1669450 100644 --- a/source3/utils/net_rpc_registry.c +++ b/source3/utils/net_rpc_registry.c @@ -18,6 +18,7 @@ along with this program. If not, see . */ #include "includes.h" +#include "system/filesys.h" #include "registry.h" #include "utils/net.h" #include "utils/net_registry_util.h" diff --git a/source3/utils/net_usershare.c b/source3/utils/net_usershare.c index 13b18934e82..06ed4533d55 100644 --- a/source3/utils/net_usershare.c +++ b/source3/utils/net_usershare.c @@ -20,6 +20,7 @@ #include "includes.h" #include "system/passwd.h" +#include "system/filesys.h" #include "utils/net.h" #include "../libcli/security/security.h" diff --git a/source3/utils/profiles.c b/source3/utils/profiles.c index 53862f441fc..30c6ad0a1fb 100644 --- a/source3/utils/profiles.c +++ b/source3/utils/profiles.c @@ -20,6 +20,7 @@ */ #include "includes.h" +#include "system/filesys.h" #include "popt_common.h" #include "registry/reg_objects.h" #include "registry/regfio.h" diff --git a/source3/utils/smbcontrol.c b/source3/utils/smbcontrol.c index ed7ca596d8a..3ecd2d4531b 100644 --- a/source3/utils/smbcontrol.c +++ b/source3/utils/smbcontrol.c @@ -24,6 +24,7 @@ */ #include "includes.h" +#include "system/filesys.h" #include "popt_common.h" #include "librpc/gen_ndr/messaging.h" #include "librpc/gen_ndr/spoolss.h" diff --git a/source3/utils/smbfilter.c b/source3/utils/smbfilter.c index f455f2df91c..9cdbb690c84 100644 --- a/source3/utils/smbfilter.c +++ b/source3/utils/smbfilter.c @@ -18,6 +18,7 @@ */ #include "includes.h" +#include "system/filesys.h" #include "system/select.h" #include "../lib/util/select.h" diff --git a/source3/utils/status.c b/source3/utils/status.c index dd7f7ea6867..21ed9ea52f9 100644 --- a/source3/utils/status.c +++ b/source3/utils/status.c @@ -31,6 +31,7 @@ */ #include "includes.h" +#include "system/filesys.h" #include "popt_common.h" #include "dbwrap.h" #include "../libcli/security/security.h" diff --git a/source3/utils/testparm.c b/source3/utils/testparm.c index 1a011a5a37d..978ada26c65 100644 --- a/source3/utils/testparm.c +++ b/source3/utils/testparm.c @@ -32,6 +32,7 @@ */ #include "includes.h" +#include "system/filesys.h" #include "popt_common.h" /******************************************************************* diff --git a/source3/web/cgi.c b/source3/web/cgi.c index b783d0c9d4f..c7edf6b27dd 100644 --- a/source3/web/cgi.c +++ b/source3/web/cgi.c @@ -19,6 +19,7 @@ #include "includes.h" #include "system/passwd.h" +#include "system/filesys.h" #include "web/swat_proto.h" #define MAX_VARIABLES 10000 diff --git a/source3/web/swat.c b/source3/web/swat.c index 54f4cd7b202..1b73b21dd34 100644 --- a/source3/web/swat.c +++ b/source3/web/swat.c @@ -28,6 +28,7 @@ **/ #include "includes.h" +#include "system/filesys.h" #include "popt_common.h" #include "web/swat_proto.h" #include "printing/pcap.h" diff --git a/source3/winbindd/idmap_autorid.c b/source3/winbindd/idmap_autorid.c index 81919216d6d..5e3dacf6240 100644 --- a/source3/winbindd/idmap_autorid.c +++ b/source3/winbindd/idmap_autorid.c @@ -23,6 +23,7 @@ */ #include "includes.h" +#include "system/filesys.h" #include "winbindd.h" #include "dbwrap.h" #include "idmap.h" diff --git a/source3/winbindd/idmap_tdb.c b/source3/winbindd/idmap_tdb.c index 18c7fbbe53f..19e7f0e1d5f 100644 --- a/source3/winbindd/idmap_tdb.c +++ b/source3/winbindd/idmap_tdb.c @@ -24,6 +24,7 @@ */ #include "includes.h" +#include "system/filesys.h" #include "winbindd.h" #include "idmap.h" #include "idmap_rw.h" diff --git a/source3/winbindd/winbindd_cache.c b/source3/winbindd/winbindd_cache.c index 243c46a03c0..5b1757b1dd3 100644 --- a/source3/winbindd/winbindd_cache.c +++ b/source3/winbindd/winbindd_cache.c @@ -24,6 +24,7 @@ */ #include "includes.h" +#include "system/filesys.h" #include "winbindd.h" #include "tdb_validate.h" #include "../libcli/auth/libcli_auth.h" -- 2.34.1