summaryrefslogtreecommitdiff
path: root/lang/ocaml/patches/patch-ab
blob: 0767d6c21eb24b5fba3725e0b9dd99d494ecef0c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
$NetBSD: patch-ab,v 1.6 2007/10/04 05:19:16 adam Exp $

--- otherlibs/dbm/cldbm.c.orig	2003-07-08 15:50:31.000000000 +0200
+++ otherlibs/dbm/cldbm.c
@@ -21,10 +21,10 @@
 #include <fail.h>
 #include <callback.h>
 
-#ifdef DBM_USES_GDBM_NDBM
-#include <gdbm-ndbm.h>
-#else
+#ifdef DBM_USES_DB
 #include <ndbm.h>
+#else
+#include <db.h>
 #endif
 
 /* Quite close to sys_open_flags, but we need RDWR */