summaryrefslogtreecommitdiff
path: root/source4/lib
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2004-11-02 03:13:06 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:05:13 -0500
commit6148deca663f7b6504b044120b166d6c9ae28750 (patch)
tree77cde75020079440f070a2f4450623e28ae2dd07 /source4/lib
parentedbfc0f6e70150e321822365bf0eead2821551bd (diff)
downloadsamba-6148deca663f7b6504b044120b166d6c9ae28750.tar.gz
samba-6148deca663f7b6504b044120b166d6c9ae28750.tar.bz2
samba-6148deca663f7b6504b044120b166d6c9ae28750.zip
r3454: moved a few more things out if includes.h into the include/system/ include files.
this brings us down to about 11k lines of headers included with includes.h, while still retaining the speed of building with pch (This used to be commit 10188869ef072309ca580b8b933e172571fcdda7)
Diffstat (limited to 'source4/lib')
-rw-r--r--source4/lib/cmdline/popt_common.c1
-rw-r--r--source4/lib/module.c1
-rw-r--r--source4/lib/system.c1
-rw-r--r--source4/lib/tdb/common/tdb.c1
-rw-r--r--source4/lib/xfile.c1
5 files changed, 5 insertions, 0 deletions
diff --git a/source4/lib/cmdline/popt_common.c b/source4/lib/cmdline/popt_common.c
index 80be23d364..7d4dead4de 100644
--- a/source4/lib/cmdline/popt_common.c
+++ b/source4/lib/cmdline/popt_common.c
@@ -21,6 +21,7 @@
*/
#include "includes.h"
+#include "system/passwd.h"
#include "lib/cmdline/popt_common.h"
/* Handle command line options:
diff --git a/source4/lib/module.c b/source4/lib/module.c
index 58764683d5..9e568f601a 100644
--- a/source4/lib/module.c
+++ b/source4/lib/module.c
@@ -21,6 +21,7 @@
#include "includes.h"
#include "system/dir.h"
+#include "system/filesys.h"
#ifdef HAVE_DLOPEN
diff --git a/source4/lib/system.c b/source4/lib/system.c
index 906219bd91..5e106c96eb 100644
--- a/source4/lib/system.c
+++ b/source4/lib/system.c
@@ -22,6 +22,7 @@
#include "includes.h"
#include "system/network.h"
#include "system/wait.h"
+#include "system/filesys.h"
/*
The idea is that this file will eventually have wrappers around all
diff --git a/source4/lib/tdb/common/tdb.c b/source4/lib/tdb/common/tdb.c
index d41809c3d8..afe2ca1621 100644
--- a/source4/lib/tdb/common/tdb.c
+++ b/source4/lib/tdb/common/tdb.c
@@ -68,6 +68,7 @@
#include "includes.h"
#include "system/time.h"
#include "system/shmem.h"
+#include "system/filesys.h"
#endif
#define TDB_MAGIC_FOOD "TDB file\n"
diff --git a/source4/lib/xfile.c b/source4/lib/xfile.c
index 8572bd857a..856e5dd6e6 100644
--- a/source4/lib/xfile.c
+++ b/source4/lib/xfile.c
@@ -30,6 +30,7 @@
*/
#include "includes.h"
+#include "system/filesys.h"
#define XBUFSIZE BUFSIZ