From: Henrique Mendonca Date: Mon, 29 Oct 2012 21:55:46 +0000 (+0000) Subject: THRIFT-1744: Compilation failure under Android NDK toolchain X-Git-Tag: 0.9.1~248 X-Git-Url: https://source.supwisdom.com/gerrit/gitweb?a=commitdiff_plain;h=36ae65cf2e2c05b6998f1609f5ee9b2da8dbdcfd;p=common%2Fthrift.git THRIFT-1744: Compilation failure under Android NDK toolchain Client: C++ and Android NDK Patch: Vlad Troyanker include config.h git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1403549 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/lib/cpp/src/thrift/transport/TSocketPool.cpp b/lib/cpp/src/thrift/transport/TSocketPool.cpp index 03764c27..6bca4db5 100644 --- a/lib/cpp/src/thrift/transport/TSocketPool.cpp +++ b/lib/cpp/src/thrift/transport/TSocketPool.cpp @@ -17,6 +17,10 @@ * under the License. */ +#ifdef HAVE_CONFIG_H +#include +#endif + #include #include