Skip to content

Commit 327d134

Browse files
committed
THRIFT-3693 Fix include issue in C++ TSSLSocketInterruptTest on Windows
This closes apache#910
1 parent 06e8fd4 commit 327d134

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/cpp/src/thrift/transport/TSSLSocket.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,12 @@
2020
#ifndef _THRIFT_TRANSPORT_TSSLSOCKET_H_
2121
#define _THRIFT_TRANSPORT_TSSLSOCKET_H_ 1
2222

23+
// Put this first to avoid WIN32 build failure
24+
#include <thrift/transport/TSocket.h>
2325
#include <string>
2426
#include <boost/shared_ptr.hpp>
2527
#include <openssl/ssl.h>
2628
#include <thrift/concurrency/Mutex.h>
27-
#include <thrift/transport/TSocket.h>
2829

2930
namespace apache {
3031
namespace thrift {

0 commit comments

Comments
 (0)