From 184339825dc2d27e5c9f0b66c413042b596c6375 Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Wed, 18 Aug 2010 18:34:01 +0200 Subject: s3-build: include mangle.h only where needed. Guenther --- source3/include/includes.h | 1 - source3/smbd/mangle.c | 1 + source3/smbd/mangle_hash.c | 1 + source3/smbd/mangle_hash2.c | 1 + 4 files changed, 3 insertions(+), 1 deletion(-) 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) -- cgit