diff options
author | Skip Montanaro <skip@pobox.com> | 2008-12-06 17:25:02 (GMT) |
---|---|---|
committer | Skip Montanaro <skip@pobox.com> | 2008-12-06 17:25:02 (GMT) |
commit | c1ce286061d02b8e3701633dd22c3ce813f9a6f6 (patch) | |
tree | d7846d1669940c0efb046796b815826fbfd03a74 /Modules | |
parent | 008d8ef1a87dcf8fdada5ab01e27dcb6e4100472 (diff) | |
download | cpython-c1ce286061d02b8e3701633dd22c3ce813f9a6f6.zip cpython-c1ce286061d02b8e3701633dd22c3ce813f9a6f6.tar.gz cpython-c1ce286061d02b8e3701633dd22c3ce813f9a6f6.tar.bz2 |
issue 4483 - _dbm build failures on systems with gdbm_compat lib.
Diffstat (limited to 'Modules')
-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 1aef3d9..5775511 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_GDBM_DASH_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"; |