If USE_LIBDB1 is defined include db/db.h.
authordrepper <drepper>
Wed, 23 Sep 1998 14:01:11 +0000 (14:01 +0000)
committerdrepper <drepper>
Wed, 23 Sep 1998 14:01:11 +0000 (14:01 +0000)
include/db.h

index 64c7348..383cef3 100644 (file)
@@ -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