diff --git a/feeds.module b/feeds.module
index da46661..c3fea22 100644
--- a/feeds.module
+++ b/feeds.module
@@ -1112,8 +1112,12 @@ function feeds_include_library($file, $library) {
 
     // Try first whether libraries module is present and load the file from
     // there. If this fails, require the library from the local path.
-    if (module_exists('libraries') && file_exists(libraries_get_path($library) . "/$file")) {
-      require libraries_get_path($library) . "/$file";
+    if (module_exists('libraries') && $path = libraries_get_path($library) && file_exists("$path/$file")) {
+      require "$path/$file";
+      $included[$file] = TRUE;
+    }
+    elseif (file_exists(DRUPAL_ROOT . "/sites/all/libraries/$library/$file")) {
+      require DRUPAL_ROOT . "/sites/all/libraries/$library/$file";
       $included[$file] = TRUE;
     }
     elseif ($library_dir && file_exists("$library_dir/$library/$file")) {
