commit | ae90f8da24d825285a0d12023412e96b58084f6c | [log] [tgz] |
---|---|---|
author | Fred Drake <fdrake@acm.org> | Fri Sep 15 03:38:12 2000 +0000 |
committer | Fred Drake <fdrake@acm.org> | Fri Sep 15 03:38:12 2000 +0000 |
tree | feeff1e887cb09801f8da03224df4459743d8910 | |
parent | bbba66eb7d52c0f00b306009d37e8b488cdfe616 [diff] |
Trent Mick points out that the BSD DB also provides an ndbm compatibility layer. If that is available, consider that as an option as well.
diff --git a/Modules/dbmmodule.c b/Modules/dbmmodule.c index afb039b..9fb1225 100644 --- a/Modules/dbmmodule.c +++ b/Modules/dbmmodule.c
@@ -13,6 +13,8 @@ */ #if defined(HAVE_NDBM_H) #include <ndbm.h> +#elif defined(HAVE_DB1_NDBM_H) +#include <db1/ndbm.h> #elif defined(HAVE_GDBM_NDBM_H) #include <gdbm/ndbm.h> #else