From: Christopher Dykes Date: Thu, 4 Aug 2016 17:50:19 +0000 (-0700) Subject: Include the fcntl.h portability header where it's needed X-Git-Tag: v2016.08.08.00~20 X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=156f70334627e5a100283b5334c0a2121d5a45a2;p=folly.git 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 --- 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