From 787b65b048f2079c51a8f3e8ad36fcd5cde39f12 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Wed, 22 Sep 2004 05:12:21 +0000 Subject: r2493: allow tdb to build standalone (This used to be commit 0d5af5b70bd010e7107b18f73a4b899e05c4f025) --- source4/lib/tdb/include/tdb.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'source4/lib') diff --git a/source4/lib/tdb/include/tdb.h b/source4/lib/tdb/include/tdb.h index ed8c247b08..6f4f3235a7 100644 --- a/source4/lib/tdb/include/tdb.h +++ b/source4/lib/tdb/include/tdb.h @@ -85,6 +85,10 @@ struct tdb_traverse_lock { u32 hash; }; +#ifndef PRINTF_ATTRIBUTE +#define PRINTF_ATTRIBUTE(a,b) +#endif + /* this is the context structure that is returned from a db open */ typedef struct tdb_context { char *name; /* the name of the database */ -- cgit