Followup to bug 557060: Fix missing #include <string.h>. r=cjones
authorTakanori MATSUURA <t.matsuu@gmail.com>
Wed, 21 Apr 2010 23:41:41 -0500
changeset 41150 774f9718376fefe51b1cf25b289df9ed4cb560a3
parent 41149 97db872fb3b542a3a3b1819e29a8eea961bb9e8b
child 41151 6b72a39eaa2a7e1f77b42f116ff0652f75b1a84f
push id1
push userroot
push dateTue, 26 Apr 2011 22:38:44 +0000
treeherdermozilla-beta@bfdb6e623a36 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerscjones
bugs557060
milestone1.9.3a5pre
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
Followup to bug 557060: Fix missing #include <string.h>. r=cjones
memory/mozalloc/throw_gcc.h
--- a/memory/mozalloc/throw_gcc.h
+++ b/memory/mozalloc/throw_gcc.h
@@ -37,16 +37,17 @@
  * the terms of any one of the MPL, the GPL or the LGPL.
  *
  * ***** END LICENSE BLOCK ***** */
 
 #ifndef mozilla_throw_gcc_h
 #define mozilla_throw_gcc_h
 
 #include <stdio.h>              // snprintf
+#include <string.h>             // strerror
 
 // For gcc, we define these inline to abort so that we're absolutely
 // certain that (i) no exceptions are thrown from Gecko; (ii) these
 // errors are always terminal and caught by breakpad.
 
 #include "mozilla/mozalloc_abort.h"
 
 namespace std {