diff options
author | Skip Montanaro <skip@pobox.com> | 2002-08-02 17:13:01 (GMT) |
---|---|---|
committer | Skip Montanaro <skip@pobox.com> | 2002-08-02 17:13:01 (GMT) |
commit | 71ffc5cc4b0bb11a675ace2b4aa5ea1c08fd5438 (patch) | |
tree | 05fea6a03094139a042c506386d6a94643069b28 /Modules/dbmmodule.c | |
parent | 404378f83432651429634d7e2a66d2b079397099 (diff) | |
download | cpython-71ffc5cc4b0bb11a675ace2b4aa5ea1c08fd5438.zip cpython-71ffc5cc4b0bb11a675ace2b4aa5ea1c08fd5438.tar.gz cpython-71ffc5cc4b0bb11a675ace2b4aa5ea1c08fd5438.tar.bz2 |
add #include branch for compilation with Berkeley DB
Diffstat (limited to 'Modules/dbmmodule.c')
-rw-r--r-- | Modules/dbmmodule.c | 3 |
1 files changed, 3 insertions, 0 deletions
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 @@ static char *which_dbm = "GNU gdbm"; /* EMX port of GDBM */ #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 |