summaryrefslogtreecommitdiff
path: root/ext/test/kvs_bdb/kvs_bdb.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/test/kvs_bdb/kvs_bdb.c')
-rw-r--r--ext/test/kvs_bdb/kvs_bdb.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/ext/test/kvs_bdb/kvs_bdb.c b/ext/test/kvs_bdb/kvs_bdb.c
index 3d78bca1d1b..be63b1d7e7d 100644
--- a/ext/test/kvs_bdb/kvs_bdb.c
+++ b/ext/test/kvs_bdb/kvs_bdb.c
@@ -33,6 +33,13 @@
#include <stdlib.h>
#include <string.h>
+/*
+ * Berkeley DB has an #ifdef we need to provide a value for, we'll see an
+ * undefined error if it's unset during a strict compile.
+ */
+#ifndef DB_DBM_HSEARCH
+#define DB_DBM_HSEARCH 0
+#endif
#include <db.h>
#include <wiredtiger.h>
#include <wiredtiger_ext.h>