Switch uses of <dirent.h> to <folly/portability/Dirent.h>
authorChristopher Dykes <cdykes@fb.com>
Mon, 30 May 2016 23:05:13 +0000 (16:05 -0700)
committerFacebook Github Bot 6 <facebook-github-bot-6-bot@fb.com>
Mon, 30 May 2016 23:09:19 +0000 (16:09 -0700)
Summary: Diff #5 of 14.

Reviewed By: mzlee

Differential Revision: D3186885

fbshipit-source-id: 1947656137cad62a019cdf687cff9913bcecde2a

folly/test/SubprocessTest.cpp

index 817245e360356dcfbec8ee753d6e0b486acc8909..0b0bb9ae4eddf6481c0af18d9c65079ab4171b4b 100644 (file)
@@ -18,7 +18,6 @@
 
 #include <unistd.h>
 #include <sys/types.h>
-#include <dirent.h>
 
 #include <boost/container/flat_set.hpp>
 #include <glog/logging.h>
@@ -33,6 +32,7 @@
 #include <folly/gen/String.h>
 #include <folly/experimental/TestUtil.h>
 #include <folly/experimental/io/FsUtil.h>
+#include <folly/portability/Dirent.h>
 
 using namespace folly;