summaryrefslogtreecommitdiff
path: root/source4/lib/tdb
diff options
context:
space:
mode:
Diffstat (limited to 'source4/lib/tdb')
-rw-r--r--source4/lib/tdb/include/tdb.h4
1 files changed, 4 insertions, 0 deletions
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 */