From 3e09d2ba6b89eb0ce684fbb0ffcb9c95b557061a Mon Sep 17 00:00:00 2001 From: Christopher Dykes Date: Fri, 7 Apr 2017 21:22:45 -0700 Subject: [PATCH] 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 --- folly/io/async/ssl/OpenSSLPtrTypes.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 { -- 2.34.1