summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--media/libpng/moz.build3
-rw-r--r--mozilla-config.h.in2
2 files changed, 4 insertions, 1 deletions
diff --git a/media/libpng/moz.build b/media/libpng/moz.build
index 9146a8d5a..782aa93df 100644
--- a/media/libpng/moz.build
+++ b/media/libpng/moz.build
@@ -51,3 +51,6 @@ FINAL_LIBRARY = 'gkmedias'
# We allow warnings for third-party code that can be updated from upstream.
ALLOW_COMPILER_WARNINGS = True
+
+if CONFIG['GNU_CC']
+ CFLAGS += ['std=c89']
diff --git a/mozilla-config.h.in b/mozilla-config.h.in
index 7484180b0..6883a7be2 100644
--- a/mozilla-config.h.in
+++ b/mozilla-config.h.in
@@ -13,7 +13,7 @@
#endif
#endif
-// Expands to all the defines from configure.
+/* Expands to all the defines from configure. */
#undef ALLDEFINES
/*