Bug 824460 - Unbreak build with clang/libc++ after bug 815523. r=jduell
authorJan Beich <jbeich@tormail.org>
Wed, 26 Dec 2012 10:16:42 -0500
changeset 126152 6b81175079c5a32245b9b3000ec9931c3b4eac2b
parent 126151 975686912db82d6383971aca3671edcb33cc0012
child 126153 d29b182e169ee1245729e2a45817e09b424df9de
push id2151
push userlsblakk@mozilla.com
push dateTue, 19 Feb 2013 18:06:57 +0000
treeherdermozilla-beta@4952e88741ec [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjduell
bugs824460, 815523
milestone20.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 824460 - Unbreak build with clang/libc++ after bug 815523. r=jduell
netwerk/ipc/RemoteOpenFileParent.cpp
--- a/netwerk/ipc/RemoteOpenFileParent.cpp
+++ b/netwerk/ipc/RemoteOpenFileParent.cpp
@@ -6,16 +6,17 @@
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 #include "mozilla/net/RemoteOpenFileParent.h"
 #include "mozilla/unused.h"
 #include "nsEscape.h"
 
 #if !defined(XP_WIN) && !defined(MOZ_WIDGET_COCOA)
 #include <fcntl.h>
+#include <unistd.h>
 #endif
 
 namespace mozilla {
 namespace net {
 
 RemoteOpenFileParent::RemoteOpenFileParent(nsIFileURL *aURI)
   : mURI(aURI)
 #if !defined(XP_WIN) && !defined(MOZ_WIDGET_COCOA)