Bug 752313 - Add #include <unistd.h> to crashreporter_gtk_common.cpp to fix build failures. r=ted
authorArnaud Sourioux <six.dsn@gmail.com>
Mon, 10 Sep 2012 20:08:27 -0400
changeset 104752 96287ad60befb3d4fa83d516f691e66f8e8a035c
parent 104751 226e39fdb2a83f2b2b363cc56b9bfd3e79c75876
child 104753 3cdc078b6738a67781a1d0356e9ba08662c44e92
push id14660
push userryanvm@gmail.com
push dateTue, 11 Sep 2012 00:08:35 +0000
treeherdermozilla-inbound@96287ad60bef [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersted
bugs752313
milestone18.0a1
first release with
nightly linux32
96287ad60bef / 18.0a1 / 20120911030553 / files
nightly linux64
96287ad60bef / 18.0a1 / 20120911030553 / files
nightly mac
96287ad60bef / 18.0a1 / 20120911030553 / files
nightly win32
96287ad60bef / 18.0a1 / 20120911030553 / files
nightly win64
96287ad60bef / 18.0a1 / 20120911030553 / files
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
releases
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 752313 - Add #include <unistd.h> to crashreporter_gtk_common.cpp to fix build failures. r=ted
toolkit/crashreporter/client/crashreporter_gtk_common.cpp
--- a/toolkit/crashreporter/client/crashreporter_gtk_common.cpp
+++ b/toolkit/crashreporter/client/crashreporter_gtk_common.cpp
@@ -1,15 +1,16 @@
 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * 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 "crashreporter.h"
 
+#include <unistd.h>
 #include <dlfcn.h>
 #include <errno.h>
 #include <glib.h>
 #include <gtk/gtk.h>
 #include <signal.h>
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>