summaryrefslogtreecommitdiff
path: root/lang/python21/patches/patch-ae
blob: dee14a6cbbf525c36f099085efb0b5a4c095c475 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
$NetBSD: patch-ae,v 1.1 2005/05/29 08:41:34 minskim Exp $

--- Modules/dbmmodule.c.orig	2001-01-22 09:29:14.000000000 -0600
+++ Modules/dbmmodule.c
@@ -20,6 +20,9 @@ static char *which_dbm = "BSD db";
 #elif defined(HAVE_GDBM_NDBM_H)
 #include <gdbm/ndbm.h>
 static char *which_dbm = "GNU gdbm";
+#elif defined(HAVE_BERKDB_H)
+#include <db.h>
+static char *which_dbm = "Berkeley DB";
 #else
 #error "No ndbm.h available!"
 #endif