diff --git a/docshell/resources/content/jar.mn b/docshell/resources/content/jar.mn
index f1641c860108..2ebffb26d675 100644
--- a/docshell/resources/content/jar.mn
+++ b/docshell/resources/content/jar.mn
@@ -1,2 +1,2 @@
toolkit.jar:
- content/global/netError.xhtml
+* content/global/netError.xhtml
diff --git a/docshell/resources/content/netError.xhtml b/docshell/resources/content/netError.xhtml
index 7409ed47b6aa..f690e932ef8b 100644
--- a/docshell/resources/content/netError.xhtml
+++ b/docshell/resources/content/netError.xhtml
@@ -61,7 +61,11 @@
+#ifdef MOZ_WIDGET_GTK2
+
+#else
+#endif