s3-build: include mangle.h only where needed.
authorGünther Deschner <gd@samba.org>
Wed, 18 Aug 2010 16:34:01 +0000 (18:34 +0200)
committerGünther Deschner <gd@samba.org>
Wed, 25 Aug 2010 22:20:29 +0000 (00:20 +0200)
Guenther

source3/include/includes.h
source3/smbd/mangle.c
source3/smbd/mangle_hash.c
source3/smbd/mangle_hash2.c

index 1a57318f2c81fe22fc21504317a91ffd1f7d0a3d..1801a629dbf44372062e320dd0f5a921e7d3bc73 100644 (file)
@@ -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"
index d5608ab0bf51223b3a25f582bfcc143330598561..ca1b1314cba88219b68ae3a2a5e2afb0cea60ee7 100644 (file)
@@ -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 {
index d1af0994a8ce1528e93264f02f066ff8e979a2c9..13e797c0e546c5a4b8d2d13357659738063f5913 100644 (file)
@@ -22,6 +22,7 @@
 
 #include "includes.h"
 #include "smbd/globals.h"
+#include "mangle.h"
 
 /* -------------------------------------------------------------------------- **
  * Other stuff...
index 7c85a413cb9830a5d151806a0061c46c94ce4f7b..f0a4e3420713f0925ea286fe15d78df051941906 100644 (file)
@@ -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)