blob: f48f6aaa72b67c152152734f60dfb28713dfb14b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
$NetBSD: patch-ab,v 1.7 2009/09/22 20:19:30 tonio Exp $
--- otherlibs/dbm/cldbm.c.orig 2003-07-08 15:50:31.000000000 +0200
+++ otherlibs/dbm/cldbm.c
@@ -21,10 +21,11 @@
#include <fail.h>
#include <callback.h>
-#ifdef DBM_USES_GDBM_NDBM
-#include <gdbm-ndbm.h>
-#else
+#ifdef DBM_USES_DB
#include <ndbm.h>
+#else
+#define DB_DBM_HSEARCH 1
+#include <db.h>
#endif
/* Quite close to sys_open_flags, but we need RDWR */
|