Switch uses of networking headers to <folly/portability/Sockets.h>
[folly.git] / folly / io / async / AsyncSSLSocket.cpp
index c972c87764a2884b3a8b84cd197686e13393f2ee..1656589cd34f1e8f6b2ae7bdc112d3edab2a22d4 100644 (file)
 #include <folly/io/async/AsyncSSLSocket.h>
 
 #include <folly/io/async/EventBase.h>
+#include <folly/portability/Sockets.h>
 
 #include <boost/noncopyable.hpp>
 #include <errno.h>
 #include <fcntl.h>
-#include <netinet/in.h>
-#include <netinet/tcp.h>
 #include <openssl/err.h>
 #include <openssl/asn1.h>
 #include <openssl/ssl.h>
 #include <sys/types.h>
-#include <sys/socket.h>
 #include <chrono>
 
 #include <folly/Bits.h>