--- filefield_paths.module	2010-08-25 18:16:44.000000000 -0300
+++ _patched/filefield_paths.module	2010-08-25 18:17:11.000000000 -0300
@@ -734,7 +734,7 @@ function _filefield_paths_get_values($ty
     }
 
     if (!function_exists('pathauto_clean_token_values')) {
-      _pathauto_include();
+      module_load_include('inc', 'pathauto');
     }
     $full->values = pathauto_clean_token_values($temp);
   }
