Ensure portability/Windows.h is included before OpenSSL headers
authorChristopher Dykes <cdykes@fb.com>
Tue, 24 Jan 2017 21:28:28 +0000 (13:28 -0800)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Tue, 24 Jan 2017 21:33:01 +0000 (13:33 -0800)
commita393e1cc0e1d29c8b4c7daef6ff4c1d9bf11f78a
tree23b1217bc8ea1a7e5607d19fc5f38b1e7c0798ad
parent61d6143a96e87b2bea87514e0d545799ca3b77de
Ensure portability/Windows.h is included before OpenSSL headers

Summary: Because OpenSSL is evil to Windows, and you have to forcefully include winsock2 before winsock.

Reviewed By: yfeldblum

Differential Revision: D4453742

fbshipit-source-id: 3b1b5b1f999722559693164148245f52b1e94104
folly/portability/OpenSSL.h
folly/ssl/detail/SSLSessionImpl.h