Bug 1028137 - Add missing headers in toolkit/xre/nsGDKErrorHandler.cpp. r=karlt
authorMike Hommey <mh+mozilla@glandium.org>
Tue, 24 Jun 2014 07:29:16 +0900
changeset 190351 4413df3a4694b763aa775153b980c95a2f639aa7
parent 190350 253c1e5bf4c7c8ba519bb06d8a1f8ef975a7ff6c
child 190352 56246d479b89f750abbe4c577687c0640b5875fd
push id27004
push useremorley@mozilla.com
push dateTue, 24 Jun 2014 15:52:34 +0000
treeherdermozilla-central@7b174d47f3cc [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerskarlt
bugs1028137
milestone33.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1028137 - Add missing headers in toolkit/xre/nsGDKErrorHandler.cpp. r=karlt
toolkit/xre/nsGDKErrorHandler.cpp
--- a/toolkit/xre/nsGDKErrorHandler.cpp
+++ b/toolkit/xre/nsGDKErrorHandler.cpp
@@ -3,17 +3,21 @@
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 #include "nsGDKErrorHandler.h"
 
 #include <gtk/gtk.h>
 #include <gdk/gdkx.h>
 #include <errno.h>
+#include <stdlib.h>
+#include <string.h>
 
+#include "nsDebug.h"
+#include "nsString.h"
 #include "nsX11ErrorHandler.h"
 
 #include "prenv.h"
 
 
 /* See https://bugzilla.gnome.org/show_bug.cgi?id=629608#c8
  *
  * GDK implements X11 error traps to ignore X11 errors.