mirror of
https://github.com/samba-team/samba.git
synced 2024-12-22 13:34:15 +03:00
tdb_wrap: Standalone compile without includes.h
Compiling this generic code is confusing because it uses includes.h, which could come from source3, source4 or ctdb. Generic code should be independent of such things. Drop include of param.h since nothing from that file is used. Signed-off-by: Martin Schwenke <martin@meltin.net> Reviewed-by: Volker Lendecke <vl@samba.org>
This commit is contained in:
parent
9f0f6bff22
commit
f8bd8924ca
@ -19,11 +19,11 @@
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include "includes.h"
|
||||
#include "replace.h"
|
||||
#include "lib/util/dlinklist.h"
|
||||
#include "lib/tdb_wrap/tdb_wrap.h"
|
||||
#include "lib/param/param.h"
|
||||
#include "ccan/str/str.h"
|
||||
#include "lib/util/debug.h"
|
||||
#include "tdb_wrap.h"
|
||||
|
||||
/*
|
||||
Log tdb messages via DEBUG().
|
||||
|
@ -29,7 +29,8 @@
|
||||
#ifndef _TDB_WRAP_H_
|
||||
#define _TDB_WRAP_H_
|
||||
|
||||
#include "tdb.h"
|
||||
#include <talloc.h>
|
||||
#include <tdb.h>
|
||||
|
||||
struct tdb_wrap {
|
||||
struct tdb_context *tdb;
|
||||
|
Loading…
Reference in New Issue
Block a user