Switch uses of networking headers to <folly/portability/Sockets.h>
[folly.git] / folly / io / async / SSLContext.h
index e3ebaf5f7e8bc2486f8fbf90b3291d808e369403..81c8a210de52bf2d65530a97745820ad2d2a2356 100644 (file)
 #include <string>
 #include <random>
 
+// This has to come before SSL.
+#include <folly/portability/Sockets.h>
+
 #include <openssl/ssl.h>
 #include <openssl/tls1.h>
 
-#include <sys/socket.h>
-#include <netinet/in.h>
-
 #include <glog/logging.h>
 
 #ifndef FOLLY_NO_CONFIG