Bug 1480554 - Fix missing include in SandboxOpenedFiles.cpp. r=gcp
authorJed Davis <jld@mozilla.com>
Thu, 16 Aug 2018 09:15:56 -0600
changeset 431967 8743877cec09663c306d62897650cfb41fd4e974
parent 431966 908ddb41b8b528351889f53e698c267356f0db5f
child 431968 1d4014247f20ee46f294f131209151de6850c643
push id34456
push usertoros@mozilla.com
push dateThu, 16 Aug 2018 21:33:21 +0000
treeherdermozilla-central@72442cf86f54 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersgcp
bugs1480554
milestone63.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 1480554 - Fix missing include in SandboxOpenedFiles.cpp. r=gcp
security/sandbox/linux/SandboxOpenedFiles.cpp
--- a/security/sandbox/linux/SandboxOpenedFiles.cpp
+++ b/security/sandbox/linux/SandboxOpenedFiles.cpp
@@ -4,16 +4,17 @@
  * 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 "SandboxOpenedFiles.h"
 
 #include "mozilla/Move.h"
 #include "SandboxLogging.h"
 
+#include <errno.h>
 #include <fcntl.h>
 #include <unistd.h>
 
 namespace mozilla {
 
 // The default move constructor almost works, but Atomic isn't
 // move-constructable and the fd needs some special handling.
 SandboxOpenedFile::SandboxOpenedFile(SandboxOpenedFile&& aMoved)