renamed db.h to dbx.h to not conflict with berkeleydb db.h