Fixup fromcvs/togit conversion
[pkgsrcv2.git] / lang / ocaml / patches / patch-ab
1 $NetBSD: patch-ab,v 1.6 2007/10/04 05:19:16 adam Exp $
2
3 --- otherlibs/dbm/cldbm.c.orig  2003-07-08 15:50:31.000000000 +0200
4 +++ otherlibs/dbm/cldbm.c
5 @@ -21,10 +21,11 @@
6  #include <fail.h>
7  #include <callback.h>
8  
9 -#ifdef DBM_USES_GDBM_NDBM
10 -#include <gdbm-ndbm.h>
11 -#else
12 +#ifdef DBM_USES_DB
13  #include <ndbm.h>
14 +#else
15 +#define DB_DBM_HSEARCH 1
16 +#include <db.h>
17  #endif
18  
19  /* Quite close to sys_open_flags, but we need RDWR */