Switch uses of networking headers to <folly/portability/Sockets.h>
[folly.git] / folly / SocketAddress.h
index 1953e2135574ee1aecd0d6796394d3dd9230e09c..d48f3ccc81bf43ca88d7b8daef4637f356b831e8 100644 (file)
 #pragma once
 
 #include <sys/types.h>
-#include <sys/socket.h>
-#include <sys/un.h>
-#include <netinet/in.h>
-#include <netdb.h>
 #include <cstddef>
 #include <iostream>
 #include <string>
@@ -28,6 +24,7 @@
 #include <folly/IPAddress.h>
 #include <folly/Portability.h>
 #include <folly/Range.h>
+#include <folly/portability/Sockets.h>
 
 namespace folly {