diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/db.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/include/db.h b/include/db.h index 64c7348..383cef3 100644 --- a/include/db.h +++ b/include/db.h @@ -1,9 +1,13 @@ #ifndef _DB_H_ -#include <db2/db.h> +#ifdef USE_LIBDB1 +# include <db/db.h> +#else +# include <db2/db.h> /* Internal interface for NSS. */ int __nss_db_open __P((const char *, DBTYPE, u_int32_t, int, DB_ENV *, DB_INFO *, DB **)); +#endif #endif |