diff options
author | Günther Deschner <gd@samba.org> | 2011-02-25 23:20:06 +0100 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2011-03-30 01:13:07 +0200 |
commit | 0e771263eed0b9bc364ce523765ea17dd1192841 (patch) | |
tree | 95c96ef7fd2d0c8e1d416c5eec817d3db055f5d0 /source3/lib | |
parent | 64422d973583a510e6ea2e655bf398ea85f445b5 (diff) | |
download | samba-0e771263eed0b9bc364ce523765ea17dd1192841.tar.gz samba-0e771263eed0b9bc364ce523765ea17dd1192841.tar.bz2 samba-0e771263eed0b9bc364ce523765ea17dd1192841.zip |
s3-includes: only include system/filesys.h when needed.
Guenther
Diffstat (limited to 'source3/lib')
-rw-r--r-- | source3/lib/conn_tdb.c | 1 | ||||
-rw-r--r-- | source3/lib/dbwrap_ctdb.c | 1 | ||||
-rw-r--r-- | source3/lib/dumpcore.c | 1 | ||||
-rw-r--r-- | source3/lib/eventlog/eventlog.c | 1 | ||||
-rw-r--r-- | source3/lib/g_lock.c | 1 | ||||
-rw-r--r-- | source3/lib/gencache.c | 1 | ||||
-rw-r--r-- | source3/lib/messages_local.c | 1 | ||||
-rw-r--r-- | source3/lib/pidfile.c | 1 | ||||
-rw-r--r-- | source3/lib/popt_common.c | 1 | ||||
-rw-r--r-- | source3/lib/recvfile.c | 1 | ||||
-rw-r--r-- | source3/lib/server_mutex.c | 1 | ||||
-rw-r--r-- | source3/lib/serverid.c | 1 | ||||
-rw-r--r-- | source3/lib/sessionid_tdb.c | 1 | ||||
-rw-r--r-- | source3/lib/sharesec.c | 1 | ||||
-rw-r--r-- | source3/lib/system.c | 1 | ||||
-rw-r--r-- | source3/lib/tdb_validate.c | 3 | ||||
-rw-r--r-- | source3/lib/util.c | 1 | ||||
-rw-r--r-- | source3/lib/util_sock.c | 1 | ||||
-rw-r--r-- | source3/lib/util_tdb.c | 1 |
19 files changed, 20 insertions, 1 deletions
diff --git a/source3/lib/conn_tdb.c b/source3/lib/conn_tdb.c index e4c5e72014..50f0d9fa1b 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 46ec6dec29..9b0b66c1f0 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 59a891205a..90acc1679b 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 <sys/sysctl.h> diff --git a/source3/lib/eventlog/eventlog.c b/source3/lib/eventlog/eventlog.c index 70062345a6..4941199c5e 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 dfbcf8445c..59f1d590b6 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 2bbc952108..67c37f34e7 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 8cc060b9e2..9b3a7ed7c7 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 a3e39db784..88d0fb07ea 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 8ff2b8023b..128b9c1870 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 ea01596421..7cbb8a0b92 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 43c0de1975..1ba9d6a65b 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 a8cdcfa2a9..f13c66e2c9 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 1a91c04752..ab54ec9ca5 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 59be365e1e..c84e8fa00b 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 f846dcac89..52b6477266 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 <sys/prctl.h> diff --git a/source3/lib/tdb_validate.c b/source3/lib/tdb_validate.c index e001d9cb76..b91ea7af83 100644 --- a/source3/lib/tdb_validate.c +++ b/source3/lib/tdb_validate.c @@ -19,8 +19,9 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. */ -#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 1bd199cca6..973670ede0 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 0c7db2e134..b010c991f7 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 aef4a7dec3..a9290ab94a 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 |