debug: Standalone compile without includes.h
authorMartin Schwenke <martin@meltin.net>
Mon, 8 Sep 2014 06:32:46 +0000 (16:32 +1000)
committerVolker Lendecke <vl@samba.org>
Fri, 19 Sep 2014 16:11:11 +0000 (18:11 +0200)
commite0a5c43bd0ca097936604169177d5eb44a6e42a8
tree53c637134dfc4967f768fa87e33c499fc8fdb68c
parentf8bd8924caf9f56666facfbe93778dd01288be6e
debug: Standalone compile without includes.h

Compiling utilities with includes.h is confusing because includes.h
could come from source3, source4 or ctdb.  Utilities should be
independent of such things.

Add a minimal set of fined-grained includes that attempts to avoid the
catch-all samba_util.h.  A comment indicates what is used from
samba_util.h so that future clean-ups are easier.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Volker Lendecke <vl@samba.org>
lib/util/debug.c
lib/util/debug.h