openbsd-ports/devel/gconf/patches/patch-backends_bdb_h
wilfried 485c52a7d5 Update to GConf-1.0.7, from maintainer
* Better compability for installing gconf 1 & 2 side by side
* Better UTF8 handling
* Lots of compilation and configuring fixes
* Some portability fixes
* Plus a lot of other fixes, see Changelog for full description
2001-11-13 14:04:41 +00:00

25 lines
451 B
Plaintext

$OpenBSD: patch-backends_bdb_h,v 1.2 2001/11/13 14:04:41 wilfried Exp $
--- backends/bdb.h.orig Fri Oct 12 20:51:36 2001
+++ backends/bdb.h Mon Nov 12 22:25:56 2001
@@ -116,11 +116,18 @@
#ifndef BDB_H
+#include <config.h>
+
#ifdef HAVE_DB3_DB_H
-#include <db3/db.h>
+# include <db3/db.h>
#else
-#include <db.h>
+# ifdef HAVE_DB3_H
+# include <db3.h>
+# else
+# include <db.h>
+# endif
#endif
+
#include <glib.h>
#include <gconf/gconf.h>