Index: xmlrpc.php
===================================================================
RCS file: /cvs/drupal/drupal/xmlrpc.php,v
retrieving revision 1.6
diff -u -F^f -r1.6 xmlrpc.php
--- xmlrpc.php	26 Jan 2004 18:51:37 -0000	1.6
+++ xmlrpc.php	4 Aug 2004 01:37:43 -0000
@@ -3,6 +3,7 @@
 
 include_once "includes/bootstrap.inc";
 include_once "includes/common.inc";
+include_once 'includes/xmlrpc.inc';
 include_once "includes/xmlrpcs.inc";
 
 $functions = module_invoke_all("xmlrpc");
Index: includes/common.inc
===================================================================
RCS file: /cvs/drupal/drupal/includes/common.inc,v
retrieving revision 1.371
diff -u -F^f -r1.371 common.inc
--- includes/common.inc	29 Jul 2004 01:41:33 -0000	1.371
+++ includes/common.inc	4 Aug 2004 01:37:43 -0000
@@ -1768,7 +1768,6 @@ function truncate_utf8($string, $len) {
 include_once 'includes/theme.inc';
 include_once 'includes/pager.inc';
 include_once 'includes/menu.inc';
-include_once 'includes/xmlrpc.inc';
 include_once 'includes/tablesort.inc';
 include_once 'includes/file.inc';
 
Index: modules/drupal.module
===================================================================
RCS file: /cvs/drupal/drupal/modules/drupal.module,v
retrieving revision 1.83
diff -u -F^f -r1.83 drupal.module
--- modules/drupal.module	4 Jul 2004 16:50:02 -0000	1.83
+++ modules/drupal.module	4 Aug 2004 01:37:43 -0000
@@ -127,6 +127,8 @@ function drupal_xmlrpc() {
  * Sends a ping to the Drupal directory server.
  */
 function drupal_notify($server) {
+  include_once 'includes/xmlrpc.inc';
+
   global $base_url;
 
   $url = parse_url($server);
@@ -162,6 +164,7 @@ function drupal_info($field = 0) {
  * Implementation of hook_auth().
  */
 function drupal_auth($username, $password, $server) {
+  include_once 'includes/xmlrpc.inc';
 
   $message = new xmlrpcmsg('drupal.login', array(new xmlrpcval($username, 'string'), new xmlrpcval($password, 'string')));
 
@@ -201,6 +204,8 @@ function drupal_page_help() {
  * Remote clients are usually other Drupal instances.
  */
 function drupal_login($arguments) {
+  include_once 'includes/xmlrpc.inc';
+
   $argument = $arguments->getparam(0);
   $username = $argument->scalarval();
   $argument = $arguments->getparam(1);
Index: modules/ping.module
===================================================================
RCS file: /cvs/drupal/drupal/modules/ping.module,v
retrieving revision 1.18
diff -u -F^f -r1.18 ping.module
--- modules/ping.module	18 Jun 2004 15:04:35 -0000	1.18
+++ modules/ping.module	4 Aug 2004 01:37:43 -0000
@@ -54,6 +54,8 @@ function _ping_notify($name, $url) {
  * Notifies weblogs.com, blo.gs, and technorati.com of changes at this site.
  */
 function ping_ping($name = '', $url = '') {
+  include_once 'includes/xmlrpc.inc';
+
   $feed = url('node/feed');
 
   $client = new xmlrpc_client('/RPC2', 'rpc.weblogs.com', 80);
