summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2010-08-18 18:34:01 +0200
committerGünther Deschner <gd@samba.org>2010-08-26 00:20:29 +0200
commit184339825dc2d27e5c9f0b66c413042b596c6375 (patch)
tree97e9fda95d91eac5e63319e4d4df3f98fe804a9e
parent7b6fc9f414380482bd1c9476f8404bf52aa797f1 (diff)
downloadsamba-184339825dc2d27e5c9f0b66c413042b596c6375.tar.gz
samba-184339825dc2d27e5c9f0b66c413042b596c6375.tar.bz2
samba-184339825dc2d27e5c9f0b66c413042b596c6375.zip
s3-build: include mangle.h only where needed.
Guenther
-rw-r--r--source3/include/includes.h1
-rw-r--r--source3/smbd/mangle.c1
-rw-r--r--source3/smbd/mangle_hash.c1
-rw-r--r--source3/smbd/mangle_hash2.c1
4 files changed, 3 insertions, 1 deletions
diff --git a/source3/include/includes.h b/source3/include/includes.h
index 1a57318f2c..1801a629db 100644
--- a/source3/include/includes.h
+++ b/source3/include/includes.h
@@ -653,7 +653,6 @@ extern void *cmdline_lp_ctx;
#include "client.h"
#include "session.h"
-#include "mangle.h"
#include "module.h"
#include "dbwrap.h"
#include "packet.h"
diff --git a/source3/smbd/mangle.c b/source3/smbd/mangle.c
index d5608ab0bf..ca1b1314cb 100644
--- a/source3/smbd/mangle.c
+++ b/source3/smbd/mangle.c
@@ -19,6 +19,7 @@
#include "includes.h"
#include "smbd/globals.h"
+#include "mangle.h"
/* this allows us to add more mangling backends */
static const struct {
diff --git a/source3/smbd/mangle_hash.c b/source3/smbd/mangle_hash.c
index d1af0994a8..13e797c0e5 100644
--- a/source3/smbd/mangle_hash.c
+++ b/source3/smbd/mangle_hash.c
@@ -22,6 +22,7 @@
#include "includes.h"
#include "smbd/globals.h"
+#include "mangle.h"
/* -------------------------------------------------------------------------- **
* Other stuff...
diff --git a/source3/smbd/mangle_hash2.c b/source3/smbd/mangle_hash2.c
index 7c85a413cb..f0a4e34207 100644
--- a/source3/smbd/mangle_hash2.c
+++ b/source3/smbd/mangle_hash2.c
@@ -66,6 +66,7 @@
#include "includes.h"
#include "smbd/globals.h"
#include "memcache.h"
+#include "mangle.h"
#if 1
#define M_DEBUG(level, x) DEBUG(level, x)