diff --git a/indra/newview/llinventorymodelbackgroundfetch.cpp b/indra/newview/llinventorymodelbackgroundfetch.cpp
index ecbc688b7f..fb06cb9327 100755
--- a/indra/newview/llinventorymodelbackgroundfetch.cpp
+++ b/indra/newview/llinventorymodelbackgroundfetch.cpp
@@ -182,6 +182,8 @@ private:
};
+const S32 MAX_FETCH_RETRIES = 10; // For legacy inventory
+
const char * const LOG_INV("Inventory");
} // end of namespace anonymous
diff --git a/indra/newview/llinventorymodelbackgroundfetch.h b/indra/newview/llinventorymodelbackgroundfetch.h
index 19fbfc2ed3..b8ea815797 100755
--- a/indra/newview/llinventorymodelbackgroundfetch.h
+++ b/indra/newview/llinventorymodelbackgroundfetch.h
@@ -90,6 +90,12 @@ private:
LLFrameTimer mFetchTimer;
F32 mMinTimeBetweenFetches;
+
+ // For legacy inventory
+ BOOL mTimelyFetchPending;
+ S32 mNumFetchRetries;
+ F32 mMaxTimeBetweenFetches;
+ //
struct FetchQueueInfo
{