Bug 783463 - libc++ and -std=gnu++11 want explicitly declared close/write. r=dougt
authorJan Beich <jbeich@tormail.org>
Wed, 22 Aug 2012 06:53:33 -0400
changeset 103009 93d2b46f35f183e2328c86b87a19c8b05a8a402d
parent 103008 e8e54b17e6f2dfd69a91db0d0276e49c22248034
child 103010 8e4f89f8c4513069ca75bfb634d59b1b64c789b6
push id13770
push userryanvm@gmail.com
push dateWed, 22 Aug 2012 10:53:31 +0000
treeherdermozilla-inbound@8e4f89f8c451 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersdougt
bugs783463
milestone17.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 783463 - libc++ and -std=gnu++11 want explicitly declared close/write. r=dougt
widget/qt/nsSound.cpp
--- a/widget/qt/nsSound.cpp
+++ b/widget/qt/nsSound.cpp
@@ -2,16 +2,17 @@
  *
  * 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 <QApplication>
 
 #include <string.h>
+#include <unistd.h>
 
 #include "nscore.h"
 #include "plstr.h"
 #include "prlink.h"
 
 #include "nsSound.h"
 #include "nsString.h"