diff --git a/file_entity/file_entity.install b/file_entity/file_entity.install
index ca4ab06..87530c9 100644
--- a/file_entity/file_entity.install
+++ b/file_entity/file_entity.install
@@ -900,6 +900,7 @@ function file_entity_update_7210() {
 
   // Migrate any existing MIME type information into {file_type}.
   if (db_table_exists('file_type_mimetypes')) {
+     module_load_include('inc','file_entity','file_entity.file_api');
     foreach (file_type_load_all(TRUE) as $type) {
       $mimetypes = array();
       $result = db_select('file_type_mimetypes', 'ftm')
