Switch uses of networking headers to <folly/portability/Sockets.h>
[folly.git] / folly / io / async / test / AsyncSocketTest2.cpp
index 927d74f7d3b35dfac42ebe17bff4745078e0eec1..23b806adefca6e908fc1096092a8cab5aac6e0d7 100644 (file)
@@ -24,6 +24,7 @@
 #include <folly/io/IOBuf.h>
 #include <folly/io/async/test/AsyncSocketTest.h>
 #include <folly/io/async/test/Util.h>
+#include <folly/portability/Sockets.h>
 #include <folly/portability/Unistd.h>
 #include <folly/test/SocketAddressTestHelper.h>
 
 #include <boost/scoped_array.hpp>
 #include <iostream>
 #include <fcntl.h>
-#include <poll.h>
 #include <sys/types.h>
-#include <sys/socket.h>
-#include <netinet/tcp.h>
 #include <thread>
 
 using namespace boost;