add #include branch for compilation with Berkeley DB

This commit is contained in:
Skip Montanaro 2002-08-02 17:13:01 +00:00
parent 404378f834
commit 71ffc5cc4b
1 changed files with 3 additions and 0 deletions

View File

@ -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