From 156f70334627e5a100283b5334c0a2121d5a45a2 Mon Sep 17 00:00:00 2001 From: Christopher Dykes Date: Thu, 4 Aug 2016 10:50:19 -0700 Subject: [PATCH] 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 --- folly/FileUtil.h | 2 +- folly/experimental/test/TestUtilTest.cpp | 2 +- folly/test/FileTest.cpp | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/folly/FileUtil.h b/folly/FileUtil.h index 0ab3af9a..0c23cd96 100644 --- a/folly/FileUtil.h +++ b/folly/FileUtil.h @@ -19,6 +19,7 @@ #include #include #include +#include #include #include @@ -26,7 +27,6 @@ #include #include #include -#include namespace folly { diff --git a/folly/experimental/test/TestUtilTest.cpp b/folly/experimental/test/TestUtilTest.cpp index 845d96fd..c61d4432 100644 --- a/folly/experimental/test/TestUtilTest.cpp +++ b/folly/experimental/test/TestUtilTest.cpp @@ -18,7 +18,6 @@ #include #include -#include #include @@ -28,6 +27,7 @@ #include #include +#include using namespace folly; using namespace folly::test; diff --git a/folly/test/FileTest.cpp b/folly/test/FileTest.cpp index d7ac2a48..290c53da 100644 --- a/folly/test/FileTest.cpp +++ b/folly/test/FileTest.cpp @@ -17,6 +17,7 @@ #include #include +#include #include -- 2.34.1