Commit 156f7033 authored by Christopher Dykes's avatar Christopher Dykes Committed by Facebook Github Bot 5

Include the fcntl.h portability header where it's needed

Summary: There are a few places that need this, so make it so.

Reviewed By: yfeldblum

Differential Revision: D3667234

fbshipit-source-id: 84c16e1b036d9c2afddf03aa84c43210c5672f0a
parent 6edcf484
...@@ -19,6 +19,7 @@ ...@@ -19,6 +19,7 @@
#include <folly/Conv.h> #include <folly/Conv.h>
#include <folly/Portability.h> #include <folly/Portability.h>
#include <folly/ScopeGuard.h> #include <folly/ScopeGuard.h>
#include <folly/portability/Fcntl.h>
#include <folly/portability/SysUio.h> #include <folly/portability/SysUio.h>
#include <folly/portability/Unistd.h> #include <folly/portability/Unistd.h>
...@@ -26,7 +27,6 @@ ...@@ -26,7 +27,6 @@
#include <limits> #include <limits>
#include <sys/stat.h> #include <sys/stat.h>
#include <sys/types.h> #include <sys/types.h>
#include <fcntl.h>
namespace folly { namespace folly {
......
...@@ -18,7 +18,6 @@ ...@@ -18,7 +18,6 @@
#include <sys/stat.h> #include <sys/stat.h>
#include <sys/types.h> #include <sys/types.h>
#include <fcntl.h>
#include <system_error> #include <system_error>
...@@ -28,6 +27,7 @@ ...@@ -28,6 +27,7 @@
#include <folly/Memory.h> #include <folly/Memory.h>
#include <folly/portability/Environment.h> #include <folly/portability/Environment.h>
#include <folly/portability/Fcntl.h>
using namespace folly; using namespace folly;
using namespace folly::test; using namespace folly::test;
......
...@@ -17,6 +17,7 @@ ...@@ -17,6 +17,7 @@
#include <folly/File.h> #include <folly/File.h>
#include <folly/String.h> #include <folly/String.h>
#include <folly/portability/Fcntl.h>
#include <gtest/gtest.h> #include <gtest/gtest.h>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment