summaryrefslogtreecommitdiff
path: root/source3/tdb/tdb.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/tdb/tdb.c')
-rw-r--r--source3/tdb/tdb.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/tdb/tdb.c b/source3/tdb/tdb.c
index 9a598b9980..c5522bbf4b 100644
--- a/source3/tdb/tdb.c
+++ b/source3/tdb/tdb.c
@@ -54,6 +54,10 @@
#define BUCKET(hash) ((hash) % tdb->header.hash_size)
+#ifndef MAP_FILE
+#define MAP_FILE 0
+#endif
+
/* the body of the database is made of one list_struct for the free space
plus a separate data list for each hash value */
struct list_struct {