summaryrefslogtreecommitdiff
path: root/lib/util/debug.h
diff options
context:
space:
mode:
authorMartin Schwenke <martin@meltin.net>2014-09-08 16:32:46 +1000
committerVolker Lendecke <vl@samba.org>2014-09-19 18:11:11 +0200
commite0a5c43bd0ca097936604169177d5eb44a6e42a8 (patch)
tree53c637134dfc4967f768fa87e33c499fc8fdb68c /lib/util/debug.h
parentf8bd8924caf9f56666facfbe93778dd01288be6e (diff)
downloadsamba-e0a5c43bd0ca097936604169177d5eb44a6e42a8.tar.gz
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>
Diffstat (limited to 'lib/util/debug.h')
-rw-r--r--lib/util/debug.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/util/debug.h b/lib/util/debug.h
index a560c5e1879..27c319b760d 100644
--- a/lib/util/debug.h
+++ b/lib/util/debug.h
@@ -23,6 +23,12 @@
#ifndef _DEBUG_H
#define _DEBUG_H
+#include <stdbool.h>
+#include <stddef.h>
+
+#include "attr.h"
+
+
/* -------------------------------------------------------------------------- **
* Debugging code. See also debug.c
*/