Skip to content

Commit

Permalink
Switch uses of <sys/file.h> to <folly/portability/SysFile.h>
Browse files Browse the repository at this point in the history
Summary: Diff #2 of 14.

Reviewed By: mzlee

Differential Revision: D3115972

fbshipit-source-id: c75cbc95f37e8f2c2bf81311a8ca08ee766fc107
  • Loading branch information
Orvid authored and Facebook Github Bot 6 committed May 30, 2016
1 parent 6ca321d commit 64ed63b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion folly/File.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@

#include <fcntl.h>
#include <unistd.h>
#include <sys/file.h>

#include <folly/Exception.h>
#include <folly/FileUtil.h>
#include <folly/Format.h>
#include <folly/ScopeGuard.h>
#include <folly/portability/SysFile.h>

#include <system_error>

Expand Down
2 changes: 1 addition & 1 deletion folly/FileUtil.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@
#ifdef __APPLE__
#include <fcntl.h>
#endif
#include <sys/file.h>
#include <sys/socket.h>

#include <folly/detail/FileUtilDetail.h>
#include <folly/portability/SysFile.h>

namespace folly {

Expand Down

0 comments on commit 64ed63b

Please sign in to comment.