From: Christopher Dykes Date: Sat, 8 Apr 2017 04:22:45 +0000 (-0700) Subject: Fix include ordering for OpenSSLPtrTypes.h X-Git-Tag: v2017.04.10.00~2 X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=3e09d2ba6b89eb0ce684fbb0ffcb9c95b557061a;p=folly.git Fix include ordering for OpenSSLPtrTypes.h Summary: When including OpenSSL on Windows, the portability header must be included before including any OpenSSL headers. Reviewed By: yfeldblum Differential Revision: D4856376 fbshipit-source-id: a8e6533b2ba3c003314ae2426605031fa67be05f --- diff --git a/folly/io/async/ssl/OpenSSLPtrTypes.h b/folly/io/async/ssl/OpenSSLPtrTypes.h index dfc55cc3..ee0bf13f 100644 --- a/folly/io/async/ssl/OpenSSLPtrTypes.h +++ b/folly/io/async/ssl/OpenSSLPtrTypes.h @@ -18,6 +18,9 @@ #include +// This needs to be before any OpenSSL includes. +#include + #include #include #include @@ -32,7 +35,6 @@ #include #include -#include namespace folly { namespace ssl {