Bug 824460 - Unbreak build with clang/libc++ after bug 815523. r=jduell, a=bajaj
authorJan Beich <jbeich@tormail.org>
Wed, 26 Dec 2012 10:16:42 -0500
changeset 123123 211bef449e278a4f954adb4c2a01fed8070283ae
parent 123122 a07ba7a783ce10ef6e5cec0fc1efb83521f2712a
child 123124 86bda732d4f20253c6d3ab79fe93ab2b89e2791c
push id273
push userlsblakk@mozilla.com
push dateThu, 14 Feb 2013 23:19:38 +0000
treeherdermozilla-release@c5e807a3f8b8 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjduell, bajaj
bugs824460, 815523
milestone19.0a2
Bug 824460 - Unbreak build with clang/libc++ after bug 815523. r=jduell, a=bajaj
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)