--- /dev/null
+diff --git a/config/gcc-stl-wrapper.template.h b/config/gcc-stl-wrapper.template.h
+--- a/config/gcc-stl-wrapper.template.h
++++ b/config/gcc-stl-wrapper.template.h
+@@ -32,6 +32,14 @@
+ # define moz_dont_include_mozalloc_for_cstdlib
+ #endif
+
++#ifndef moz_dont_include_mozalloc_for_type_traits
++# define moz_dont_include_mozalloc_for_type_traits
++#endif
++
++#ifndef moz_dont_include_mozalloc_for_limits
++# define moz_dont_include_mozalloc_for_limits
++#endif
++
+ // Include mozalloc after the STL header and all other headers it includes
+ // have been preprocessed.
+ #if !defined(MOZ_INCLUDE_MOZALLOC_H) && \
+
eapply "${WORKDIR}/firefox"
eapply "${FILESDIR}/${PN}-73.0_fix_lto_pgo_builds.patch"
+ eapply "${FILESDIR}/${PN}-73.0_fix_llvm9.patch"
# Allow user to apply any additional patches without modifing ebuild
eapply_user