Index: addresses_user.install
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/addresses/addresses_user/addresses_user.install,v
retrieving revision 1.8
diff -u -r1.8 addresses_user.install
--- addresses_user.install	15 Jan 2009 19:39:46 -0000	1.8
+++ addresses_user.install	28 Jul 2009 22:17:29 -0000
@@ -10,6 +10,12 @@
  * Implementation of hook_install().
  */
 function addresses_user_install() {
+  // To deal with the possibility that we're being installed at the same time
+  // as the dependency Addresses module, we need to manually enable the module
+  // to ensure its available before we make calls to hooks it implements. This
+  // can be removed when http://drupal.org/node/472684 is fixed!
+  module_enable(array('addresses'));
+
   // Install the necessary Database tables
   drupal_install_schema('addresses_user');
 
