 variable.module                            | 2 +-
 variable_realm/variable_realm.module       | 2 +-
 variable_realm/variable_realm.variable.inc | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/variable.module b/variable.module
index 781124f..86e14c2 100644
--- a/variable.module
+++ b/variable.module
@@ -420,7 +420,7 @@ function variable_hook_info() {
 function variable_edit_form($form, $form_state, $list, $options = array()) {
   // Pass on the values on the form for further reference.
   $form['#variable_edit_form'] = $list;
-  module_load_include('form.inc', 'variable');
+  form_load_include($form_state, 'form.inc', 'variable');
   $form += variable_edit_subform($list, $options);
   return variable_settings_form($form, $options);
 }
diff --git a/variable_realm/variable_realm.module b/variable_realm/variable_realm.module
index b980741..074ccee 100644
--- a/variable_realm/variable_realm.module
+++ b/variable_realm/variable_realm.module
@@ -610,7 +610,7 @@ function _variable_realm_invoke_all() {
  * Implements hook_form_FORM_ID_alter()
  */
 function variable_realm_form_system_theme_settings_alter(&$form, &$form_state, $form_id) {
-  module_load_include('form.inc', 'variable_realm');
+  form_load_include($form_state, 'form.inc', 'variable_realm');
   $theme_variable = $form['var']['#value'];
   foreach (_variable_realm_variable_settings_form_list() as $realm_name => $variables) {
     if (in_array($theme_variable, variable_children($variables))) {
diff --git a/variable_realm/variable_realm.variable.inc b/variable_realm/variable_realm.variable.inc
index 5d6897b..7ed7f25 100644
--- a/variable_realm/variable_realm.variable.inc
+++ b/variable_realm/variable_realm.variable.inc
@@ -47,7 +47,7 @@ function variable_realm_variable_type_info() {
  * Implements hook_variable_settings_form_alter().
  */
 function variable_realm_variable_settings_form_alter(&$form, &$form_state, $form_id) {
-  module_load_include('form.inc', 'variable_realm');
+  form_load_include($form_state, 'form.inc', 'variable_realm');
   foreach (_variable_realm_variable_settings_form_list() as $realm_name => $variables) {
     if ($realm_variables = _variable_realm_variable_settings_form_alter($form, $realm_name, variable_children($variables))) {
       $form['#realm_variables'][$realm_name] = $realm_variables;
