commit | 71ffc5cc4b0bb11a675ace2b4aa5ea1c08fd5438 | [log] [tgz] |
---|---|---|
author | Skip Montanaro <skip@pobox.com> | Fri Aug 02 17:13:01 2002 +0000 |
committer | Skip Montanaro <skip@pobox.com> | Fri Aug 02 17:13:01 2002 +0000 |
tree | 05fea6a03094139a042c506386d6a94643069b28 | |
parent | 404378f83432651429634d7e2a66d2b079397099 [diff] |
add #include branch for compilation with Berkeley DB
diff --git a/Modules/dbmmodule.c b/Modules/dbmmodule.c index d05a1bd..f9ea7d0 100644 --- a/Modules/dbmmodule.c +++ b/Modules/dbmmodule.c
@@ -21,6 +21,9 @@ #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