summaryrefslogtreecommitdiff
path: root/source4/lib
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2004-11-02 00:24:21 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:05:12 -0500
commitead3508ac81ff3ed2a48753f3b5e23537ba6ec73 (patch)
tree5bf293783de7fbc138ee206749ab02bf18415ea1 /source4/lib
parent28785364baec1fbbf66de9ca38f397d7cc5c2c67 (diff)
downloadsamba-ead3508ac81ff3ed2a48753f3b5e23537ba6ec73.tar.gz
samba-ead3508ac81ff3ed2a48753f3b5e23537ba6ec73.tar.bz2
samba-ead3508ac81ff3ed2a48753f3b5e23537ba6ec73.zip
r3447: more include/system/XXX.h include files
(This used to be commit 264ce9181089922547e8f6f67116f2d7277a5105)
Diffstat (limited to 'source4/lib')
-rw-r--r--source4/lib/events.c2
-rw-r--r--source4/lib/fsusage.c1
-rw-r--r--source4/lib/gencache.c1
-rw-r--r--source4/lib/messaging/messaging.c1
-rw-r--r--source4/lib/module.c1
-rw-r--r--source4/lib/registry/reg_backend_dir/reg_backend_dir.c1
-rw-r--r--source4/lib/registry/reg_backend_nt4/reg_backend_nt4.c1
-rw-r--r--source4/lib/registry/reg_backend_w95/reg_backend_w95.c1
-rw-r--r--source4/lib/registry/tools/regshell.c1
-rw-r--r--source4/lib/replace.c1
-rw-r--r--source4/lib/tdb/common/tdb.c2
-rw-r--r--source4/lib/tdb/tools/tdbtorture.c1
-rw-r--r--source4/lib/time.c1
-rw-r--r--source4/lib/util_file.c1
-rw-r--r--source4/lib/wins_srv.c1
15 files changed, 17 insertions, 0 deletions
diff --git a/source4/lib/events.c b/source4/lib/events.c
index dac23ec6bc..276b3d08e9 100644
--- a/source4/lib/events.c
+++ b/source4/lib/events.c
@@ -65,6 +65,8 @@
*/
#include "includes.h"
+#include "system/time.h"
+#include "system/select.h"
/*
create a event_context structure. This must be the first events
diff --git a/source4/lib/fsusage.c b/source4/lib/fsusage.c
index bff6fdda03..f817672544 100644
--- a/source4/lib/fsusage.c
+++ b/source4/lib/fsusage.c
@@ -19,6 +19,7 @@
*/
#include "includes.h"
+#include "system/filesys.h"
/* Return the number of TOSIZE-byte blocks used by
diff --git a/source4/lib/gencache.c b/source4/lib/gencache.c
index a176dc5ae8..f32db598f8 100644
--- a/source4/lib/gencache.c
+++ b/source4/lib/gencache.c
@@ -22,6 +22,7 @@
*/
#include "includes.h"
+#include "system/time.h"
#undef DBGC_CLASS
#define DBGC_CLASS DBGC_TDB
diff --git a/source4/lib/messaging/messaging.c b/source4/lib/messaging/messaging.c
index 125089ac62..a2316919cb 100644
--- a/source4/lib/messaging/messaging.c
+++ b/source4/lib/messaging/messaging.c
@@ -21,6 +21,7 @@
*/
#include "includes.h"
+#include "system/time.h"
/* change the message version with any incompatible changes in the protocol */
#define MESSAGING_VERSION 1
diff --git a/source4/lib/module.c b/source4/lib/module.c
index 67fb830e6f..58764683d5 100644
--- a/source4/lib/module.c
+++ b/source4/lib/module.c
@@ -20,6 +20,7 @@
*/
#include "includes.h"
+#include "system/dir.h"
#ifdef HAVE_DLOPEN
diff --git a/source4/lib/registry/reg_backend_dir/reg_backend_dir.c b/source4/lib/registry/reg_backend_dir/reg_backend_dir.c
index 95d4c47af0..2273a86771 100644
--- a/source4/lib/registry/reg_backend_dir/reg_backend_dir.c
+++ b/source4/lib/registry/reg_backend_dir/reg_backend_dir.c
@@ -19,6 +19,7 @@
*/
#include "includes.h"
+#include "system/dir.h"
static WERROR reg_dir_add_key(TALLOC_CTX *mem_ctx, struct registry_key *parent, const char *name, uint32_t access_mask, SEC_DESC *desc, struct registry_key **result)
{
diff --git a/source4/lib/registry/reg_backend_nt4/reg_backend_nt4.c b/source4/lib/registry/reg_backend_nt4/reg_backend_nt4.c
index 805f95fca1..a8d1752070 100644
--- a/source4/lib/registry/reg_backend_nt4/reg_backend_nt4.c
+++ b/source4/lib/registry/reg_backend_nt4/reg_backend_nt4.c
@@ -304,6 +304,7 @@ Hope this helps.... (Although it was "fun" for me to uncover this things,
*************************************************************************/
#include "includes.h"
+#include "system/shmem.h"
#define REG_KEY_LIST_SIZE 10
#define FLAG_HAS_NAME 0x01
diff --git a/source4/lib/registry/reg_backend_w95/reg_backend_w95.c b/source4/lib/registry/reg_backend_w95/reg_backend_w95.c
index c285dac7c9..448af66eec 100644
--- a/source4/lib/registry/reg_backend_w95/reg_backend_w95.c
+++ b/source4/lib/registry/reg_backend_w95/reg_backend_w95.c
@@ -20,6 +20,7 @@
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
#include "includes.h"
+#include "system/shmem.h"
/**
* The registry starts with a header that contains pointers to
diff --git a/source4/lib/registry/tools/regshell.c b/source4/lib/registry/tools/regshell.c
index db7af9d5b6..8449446c86 100644
--- a/source4/lib/registry/tools/regshell.c
+++ b/source4/lib/registry/tools/regshell.c
@@ -20,6 +20,7 @@
*/
#include "includes.h"
+#include "system/time.h"
/*
* ck/cd - change key
diff --git a/source4/lib/replace.c b/source4/lib/replace.c
index c2180a168f..60faa473b6 100644
--- a/source4/lib/replace.c
+++ b/source4/lib/replace.c
@@ -20,6 +20,7 @@
#include "includes.h"
#include "system/wait.h"
+#include "system/time.h"
void replace_dummy(void);
void replace_dummy(void) {}
diff --git a/source4/lib/tdb/common/tdb.c b/source4/lib/tdb/common/tdb.c
index 67d9f9903d..d41809c3d8 100644
--- a/source4/lib/tdb/common/tdb.c
+++ b/source4/lib/tdb/common/tdb.c
@@ -66,6 +66,8 @@
#include "spinlock.h"
#else
#include "includes.h"
+#include "system/time.h"
+#include "system/shmem.h"
#endif
#define TDB_MAGIC_FOOD "TDB file\n"
diff --git a/source4/lib/tdb/tools/tdbtorture.c b/source4/lib/tdb/tools/tdbtorture.c
index 95eb71281c..6471aec3ad 100644
--- a/source4/lib/tdb/tools/tdbtorture.c
+++ b/source4/lib/tdb/tools/tdbtorture.c
@@ -21,6 +21,7 @@
#else
#include "includes.h"
+#include "system/time.h"
#endif
diff --git a/source4/lib/time.c b/source4/lib/time.c
index 5ea9b46844..cfceebf9cb 100644
--- a/source4/lib/time.c
+++ b/source4/lib/time.c
@@ -21,6 +21,7 @@
*/
#include "includes.h"
+#include "system/time.h"
#ifndef TIME_T_MIN
#define TIME_T_MIN 0
diff --git a/source4/lib/util_file.c b/source4/lib/util_file.c
index 0093de9517..1dbaf1147e 100644
--- a/source4/lib/util_file.c
+++ b/source4/lib/util_file.c
@@ -19,6 +19,7 @@
*/
#include "includes.h"
+#include "system/shmem.h"
/*************************************************************************
gets a line out of a file.
diff --git a/source4/lib/wins_srv.c b/source4/lib/wins_srv.c
index d8be9e61d6..c9a5549cdc 100644
--- a/source4/lib/wins_srv.c
+++ b/source4/lib/wins_srv.c
@@ -21,6 +21,7 @@
*/
#include "includes.h"
+#include "system/time.h"
/*
This is pretty much a complete rewrite of the earlier code. The main