this is the only way i can think of to make it work everywhere; people on
systems like FreeBSD where the ports work the other way around will have to
specify an extra -I flag in their CPPFLAGS variable.
$Log$
+ Revision 590.138 2002/03/11 06:00:21 nbryant
+ use <db.h> before <db3/db.h> or <db4/db.h>
+ this is the only way i can think of to make it work everywhere; people on
+ systems like FreeBSD where the ports work the other way around will have to
+ specify an extra -I flag in their CPPFLAGS variable.
+
Revision 590.137 2002/03/11 05:42:46 nbryant
removed all references to sprintf from several files (not all files yet)
and replace with snprintf
Fri Jul 10 1998 Art Cancro <ajc@uncensored.citadel.org>
* Initial CVS import
+
#include <sys/stat.h>
#include <dirent.h>
-#ifdef HAVE_DB4_DB_H
+#ifdef HAVE_DB_H
+#include <db.h>
+#elif defined(HAVE_DB4_DB_H)
#include <db4/db.h>
#elif defined(HAVE_DB3_DB_H)
#include <db3/db.h>
-#elif defined(HAVE_DB_H)
-#include <db.h>
#else
#error Neither <db.h> nor <db3/db.h> was found by configure. Install db3-devel.
#endif