--- gnome-vfsmm/configure.in-	2006-07-13 08:56:03.000000000 -0400
+++ gnome-vfsmm/configure.in	2006-07-13 08:56:05.000000000 -0400
@@ -87,10 +87,12 @@
 AC_SUBST(GLIBMM_VERSION_NEEDED)
 GNOMEVFS_VERSION_NEEDED=2.8.1
 AC_SUBST(GNOMEVFS_VERSION_NEEDED)
+BONOBOACTIVATION_VERSION_NEEDED=2.14.0
+AC_SUBST(BONOBOACTIVATION_VERSION_NEEDED)
 
 # TODO: This should really depend on glibmm instead of gtkmm, but we want to use Gtk::Main::init_gtkmm_internals().
 # We should be able to add something more appropriate to glibmm 2.4:
-PKG_CHECK_MODULES(LIBGNOMEVFSMM, glibmm-2.4 >= $GLIBMM_VERSION_NEEDED gnome-vfs-2.0 >= $GNOMEVFS_VERSION_NEEDED gnome-vfs-module-2.0 >= $GNOMEVFS_VERSION_NEEDED)
+PKG_CHECK_MODULES(LIBGNOMEVFSMM, glibmm-2.4 >= $GLIBMM_VERSION_NEEDED gnome-vfs-2.0 >= $GNOMEVFS_VERSION_NEEDED gnome-vfs-module-2.0 >= $GNOMEVFS_VERSION_NEEDED bonobo-activation-2.0 >= $BONOBOACTIVATION_VERSION_NEEDED)
 AC_SUBST(LIBGNOMEVFSMM_CFLAGS)
 AC_SUBST(LIBGNOMEVFSMM_LIBS)
 
--- gnome-vfsmm/libgnomevfs/libgnomevfsmm/mime-application.h-	2006-07-13 09:07:57.000000000 -0400
+++ gnome-vfsmm/libgnomevfs/libgnomevfsmm/mime-application.h	2006-07-13 09:08:44.000000000 -0400
@@ -23,6 +23,7 @@
  * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  */
 
+#include <bonobo-activation/bonobo-activation-server-info.h>
 #include <libgnomevfs/gnome-vfs-mime-handlers.h>
 #include <libgnomevfs/gnome-vfs-application-registry.h>
 
